[62461] trunk/dports/graphics/libwmf/Portfile
jmr at macports.org
jmr at macports.org
Fri Jan 8 10:51:38 PST 2010
Revision: 62461
http://trac.macports.org/changeset/62461
Author: jmr at macports.org
Date: 2010-01-08 10:51:35 -0800 (Fri, 08 Jan 2010)
Log Message:
-----------
libwmf: fix dependencies, disable gdk-pixbuf properly (#23183)
Modified Paths:
--------------
trunk/dports/graphics/libwmf/Portfile
Modified: trunk/dports/graphics/libwmf/Portfile
===================================================================
--- trunk/dports/graphics/libwmf/Portfile 2010-01-08 18:09:16 UTC (rev 62460)
+++ trunk/dports/graphics/libwmf/Portfile 2010-01-08 18:51:35 UTC (rev 62461)
@@ -20,38 +20,35 @@
homepage http://wvware.sourceforge.net/libwmf.html
master_sites sourceforge:wvware
-checksums md5 d1177739bf1ceb07f57421f0cee191e0
+checksums md5 d1177739bf1ceb07f57421f0cee191e0 \
+ sha1 822ab3bd0f5e8f39ad732f2774a8e9f18fc91e89
depends_build \
- port:autoconf \
- port:automake \
- port:libtool
+ port:pkgconfig
depends_lib \
port:zlib \
port:libpng \
port:jpeg \
- port:freetype
+ port:freetype \
+ port:expat
-post-patch {
- system "cd ${worksrcpath} && autoreconf -fvi"
- reinplace "s|@LIBWMF_GDK_PIXBUF_TRUE@|#|g" ${worksrcpath}/src/Makefile.in
- reinplace "s|@LIBWMF_GDK_PIXBUF_FALSE@||g" ${worksrcpath}/src/Makefile.in
-}
+patchfiles configure.ac.diff
-configure.args --with-jpeg --without-x --with-fontdir=${prefix}/share/fonts/${name}
+use_autoreconf yes
+autoreconf.args -fvi
+configure.args --with-jpeg \
+ --with-expat \
+ --without-x \
+ --with-fontdir=${prefix}/share/fonts/${name}
+
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING CREDITS ChangeLog \
NEWS README TODO ${destroot}${prefix}/share/doc/${name}
}
-variant expat conflicts xml2 description {Use expat not libxml2} {
- depends_lib-append port:expat
- configure.args-append --with-expat
-}
-
variant x11 description {Enable X11 support} {
depends_lib-append port:xorg-libX11
depends_build-append bin:mkfontdir:mkfontdir bin:mkfontscale:mkfontscale
@@ -65,7 +62,9 @@
}
variant xml2 conflicts expat description {Use libxml2 not expat} {
+ depends_lib-delete port:expat
depends_lib-append port:libxml2
+ configure.args-delete --with-expat
configure.args-append --with-libxml2
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100108/644198cb/attachment.html>
More information about the macports-changes
mailing list