[27752] trunk/dports/sysutils/rpm-devel/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Aug 13 11:30:40 PDT 2007


Revision: 27752
          http://trac.macosforge.org/projects/macports/changeset/27752
Author:   afb at macports.org
Date:     2007-08-13 11:30:40 -0700 (Mon, 13 Aug 2007)

Log Message:
-----------
re-enable internal zlib/file/lua/db, add linux support

Modified Paths:
--------------
    trunk/dports/sysutils/rpm-devel/Portfile

Modified: trunk/dports/sysutils/rpm-devel/Portfile
===================================================================
--- trunk/dports/sysutils/rpm-devel/Portfile	2007-08-13 17:07:00 UTC (rev 27751)
+++ trunk/dports/sysutils/rpm-devel/Portfile	2007-08-13 18:30:40 UTC (rev 27752)
@@ -4,7 +4,7 @@
 
 name			rpm-devel
 version			5.0
-platforms		darwin freebsd
+platforms		darwin freebsd linux
 categories		sysutils archivers
 maintainers		n3npq at mac.com afb at macports.org
 description		The RPM package management system.
@@ -35,7 +35,7 @@
 			port:libiconv port:gettext
 
 depends_lib		lib:libhistory.5:readline port:gettext \
-			port:popt port:sqlite3 port:zlib port:file
+			port:popt port:sqlite3
 
 depends_run		port:openssl \
 			bin:gzip:gzip \
@@ -66,13 +66,10 @@
 			--with-python=2.4 --with-perl=5.8.8 --sysconfdir=${prefix}/etc
 
 ### CVS config
+post-fetch	{ system "cd ${worksrcpath} && . devtool.bashrc && devtool checkout" }
+pre-configure	{ system "cd ${worksrcpath} && . devtool.bashrc && devtool autogen" }
 configure.args-append	--with-sqlite --with-dbapi=sqlite --with-path-cfg=${prefix}/etc/rpm \
-			--without-lua --without-db --with-bugreport=afb at macports.org
-configure.cmd		./autogen.sh && ./configure
-pre-configure {
-	xinstall -d lua
-	touch lua/Makefile.in
-}
+			--with-lua=internal --with-db=internal
 
 post-destroot {
 	# MacPorts specific changes
@@ -117,7 +114,13 @@
 	}
 }
 
+platform linux {
 
+	post-destroot {
+		# Linux specific changes
+	}
+}
+
 variant docs {
 	depends_run-append bin:doxygen:doxygen
 	configure.args-append --with-apidocs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070813/5edc3061/attachment.html


More information about the macports-changes mailing list