most recent changes, diff for lyx

Index: aqua/LyX/Portfile
--- aqua/LyX/Portfile (revision 35661)
+++ aqua/LyX/Portfile (revision 35662)
@@ -1,7 +1,10 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
+
PortSystem 1.0
+
name LyX
-version 1.4.0pre3
+version 1.5.4
platforms darwin
categories aqua
maintainers rsorasen@broadpark.no
@@ -13,29 +16,28 @@
appearance. LyX lets you concentrate on writing, \
leaving details of visual layout to the software.

-homepage http://www.lyx.org
-master_sites ftp://ftp.devel.lyx.org/pub/lyx/pre/
+homepage http://www.lyx.org/
+master_sites http://lyx.cybermirror.org/stable/ \
+ http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/ \
+ ftp://ftp.ntua.gr/pub/X11/LyX/stable/ \
+ ftp://ftp.lyx.org/pub/lyx/stable/ \
+ http://gd.tuwien.ac.at/publishing/tex/lyx/stable/
+use_bzip2 yes
distname lyx-${version}
-checksums ${distname}${extract.suffix} sha1 4f59ca18516672af3df93706aba4914c3484ba4f
-worksrcdir lyx-${version}
-depends_lib lib:libqt.3.3:qt3-mac
+checksums md5 6f424dc23af78e1d39c6962101cde2e9 \
+ sha1 75c2be653b64eedeb443caf2b0401fb74a15e908 \
+ rmd160 fca3cb9c9c9437e879c8abea820fbd28a5d1d72d

+depends_lib port:qt4-mac \
+ bin:tex:texlive \
+ port:ImageMagick \
+ port:python25
+
patchfiles patch-ltmain.sh

-configure.compiler gcc-3.3
-configure.cppflags "-I${prefix}/include/qt3"
-configure.ldflags "-framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz"
-configure.env QTDIR="${prefix}"
-
-configure.args --with-frontend=qt --without-x --with-included-gettext \
+use_parallel_build yes
+configure.python ${prefix}/bin/python2.5
+configure.pre_args --prefix=/Applications/MacPorts/LyX.app
+configure.args --with-frontend=qt4 --without-x --with-included-gettext \
--enable-optimization=-Os --disable-concept-checks \
- --prefix=/Applications/MacPorts/LyX.app --with-qt-dir=${prefix}
-
-pre-destroot {
- xinstall -m 755 -d ${destroot}/Applications/MacPorts
- file copy ${worksrcpath}/development/MacOSX/LyX.app ${destroot}/Applications/MacPorts
-}
-
-post-destroot {
- file delete ${destroot}/Applications/MacPorts/LyX.app/Contents/Resources/LyX/images/lyx.xpm
-}
+ --with-qt4-dir=${prefix}