[47028] trunk/dports/textproc/sword/Portfile

jmr at macports.org jmr at macports.org
Thu Feb 19 22:48:30 PST 2009


Revision: 47028
          http://trac.macports.org/changeset/47028
Author:   jmr at macports.org
Date:     2009-02-19 22:48:29 -0800 (Thu, 19 Feb 2009)
Log Message:
-----------
sword: don't use system autotools (#18552), switch to port: style depspecs

Modified Paths:
--------------
    trunk/dports/textproc/sword/Portfile

Modified: trunk/dports/textproc/sword/Portfile
===================================================================
--- trunk/dports/textproc/sword/Portfile	2009-02-20 06:40:57 UTC (rev 47027)
+++ trunk/dports/textproc/sword/Portfile	2009-02-20 06:48:29 UTC (rev 47028)
@@ -17,20 +17,14 @@
 checksums		md5 e77801ac7abb7a940eb8a75d725e346f
 platforms		darwin
 
-depends_build	bin:autoconf:autoconf \
-				bin:automake:automake \
-				bin:glibtoolize:libtool \
-				bin:pkg-config:pkgconfig
-depends_lib		lib:libcurl.2:curl \
-				lib:libssl.0.9:openssl \
-				lib:libz.1:zlib
+depends_build	port:autoconf \
+				port:automake \
+				port:libtool \
+				port:pkgconfig
+depends_lib		port:curl \
+				port:openssl \
+				port:zlib
 
-platform darwin {
-	depends_build-delete	bin:autoconf:autoconf \
-							bin:automake:automake \
-							bin:glibtoolize:libtool
-}
-
 worksrcdir		${name}-[strsed ${version} {s/a$//}]
 
 patchfiles		patch-autogen.sh \
@@ -38,11 +32,7 @@
 				patch-untgz.c
 
 pre-configure {
-	if {[variant_isset darwin]} {
-		system "cd ${worksrcpath} && AUTODIR=/usr/bin/ ./autogen.sh"
-	} else {
-		system "cd ${worksrcpath} && ./autogen.sh"
-	}
+    system "cd ${worksrcpath} && ./autogen.sh"
 }
 configure.args	--with-zlib --with-conf --with-curl \
 				--without-icu --without-lucene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090219/66d94b3f/attachment-0001.html>


More information about the macports-changes mailing list