[31405] trunk/dports/editors/abiword/Portfile

rhwood at macports.org rhwood at macports.org
Thu Nov 22 06:52:22 PST 2007


Revision: 31405
          http://trac.macosforge.org/projects/macports/changeset/31405
Author:   rhwood at macports.org
Date:     2007-11-22 06:52:21 -0800 (Thu, 22 Nov 2007)

Log Message:
-----------
Move all dependencies and build settings from the main body to variant +use_source so that variant +use_binary does not attempt to build a bunch of unneeded dependencies

Modified Paths:
--------------
    trunk/dports/editors/abiword/Portfile

Modified: trunk/dports/editors/abiword/Portfile
===================================================================
--- trunk/dports/editors/abiword/Portfile	2007-11-22 14:35:53 UTC (rev 31404)
+++ trunk/dports/editors/abiword/Portfile	2007-11-22 14:52:21 UTC (rev 31405)
@@ -18,28 +18,6 @@
 worksrcdir	${distname}/abi
 default_variants	+use_binary
 
-depends_lib	\
-	port:zlib \
-	port:libpng \
-	port:fribidi \
-	port:fontconfig \
-	port:imagemagick
-
-patchfiles configure.patch \
-	abi-detect-platform.m4.patch
-
-configure.cflags-append -no-cpp-precomp
-
-configure.args	\
-	--enable-Cocoa \
-	--mandir=${prefix}/share/man \
-	--with-zlib=${prefix} \
-	--with-libpng=${prefix} \
-	--with-popt=${prefix} \
-	--without-epath \
-	--disable-gnome \
-	--with-darwinports
-
 build.target {}
 
 pre-fetch {
@@ -75,4 +53,25 @@
 }
 
 variant use_source {
+	depends_lib	\
+		port:zlib \
+		port:libpng \
+		port:fribidi \
+		port:fontconfig \
+		port:imagemagick
+
+	patchfiles	\
+		configure.patch \
+		abi-detect-platform.m4.patch
+
+	configure.cflags-append -no-cpp-precomp
+
+	configure.args	\
+		--enable-Cocoa \
+		--mandir=${prefix}/share/man \
+		--with-zlib=${prefix} \
+		--with-libpng=${prefix} \
+		--with-popt=${prefix} \
+		--without-epath \
+		--disable-gnome
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071122/9d96b913/attachment.html


More information about the macports-changes mailing list