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

afb at macports.org afb at macports.org
Thu Aug 14 05:31:43 PDT 2008


Revision: 39254
          http://trac.macosforge.org/projects/macports/changeset/39254
Author:   afb at macports.org
Date:     2008-08-14 05:31:42 -0700 (Thu, 14 Aug 2008)
Log Message:
-----------
bump RPM development branch, from 5.1 to 5.2

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

Modified: trunk/dports/sysutils/rpm-devel/Portfile
===================================================================
--- trunk/dports/sysutils/rpm-devel/Portfile	2008-08-14 12:30:33 UTC (rev 39253)
+++ trunk/dports/sysutils/rpm-devel/Portfile	2008-08-14 12:31:42 UTC (rev 39254)
@@ -3,8 +3,8 @@
 PortSystem 1.0
 
 name			rpm-devel
-version			5.1
-revision		3
+version			5.2
+revision		20080802
 platforms		darwin freebsd linux
 categories		sysutils archivers
 maintainers		n3npq at mac.com afb at macports.org
@@ -16,10 +16,10 @@
 			the package like its version, a description, etc.
 
 homepage		http://rpm5.org
-master_sites		${homepage}/files/rpm/rpm-5.1/SNAPSHOT
-set distdate		20080227
+master_sites		${homepage}/files/rpm/rpm-5.2/SNAPSHOT
+set distdate		20080802
 distname		rpm-${version}.SNAPSHOT.${distdate}
-checksums		md5 82a23802b3e6e56f11b89c19de4cadf2
+checksums		md5 4e902b8be78d4420479075f61d4c9123
 worksrcdir		${distname}
 #
 ### CVS source
@@ -35,22 +35,23 @@
 			port:libiconv port:gettext
 
 depends_lib		lib:libhistory.5:readline port:gettext \
-			port:popt port:sqlite3 port:xar-devel
+			port:popt port:sqlite3 port:xar-devel \
+			port:pcre port:ossp-uuid
 
 depends_run		port:openssl \
 			bin:gzip:gzip \
                         bin:bzip2:bzip2 \
                         bin:unzip:unzip
 
-patchfiles		patch-macros.in \
-			patch-rpmevr.h
+patchfiles		patch-macros.in
 
 build.type		gnu
 
 configure.args		--disable-nls --without-javaglue --without-included-gettext \
 			--with-libintl-prefix=${prefix} --with-libiconv-prefix=${prefix} \
 			--mandir=${prefix}/share/man --infodir=${prefix}/share/info \
-			--with-python=2.5 --with-perl --with-sqlite --with-dbapi=sqlite --with-xar=external \
+			--with-python=2.5 --with-perl --with-sqlite --with-dbapi=sqlite \
+			--with-xar=external --with-pcre=external --with-uuid=external \
 			--without-apidocs --sysconfdir=${prefix}/etc --with-path-cfg=${prefix}/etc/rpm
 configure.env		__PYTHON=${prefix}/bin/python2.5 __PERL=${prefix}/bin/perl
 
@@ -63,7 +64,9 @@
 configure.cppflags-append	-I${prefix}/include/xar
 
 post-destroot {
-	xinstall -d -m 755 ${prefix}/etc/rpm
+	xinstall -d -m 755 ${destroot}${prefix}/etc/rpm
+	system "${worksrcpath}/rpm --macros=${worksrcpath}/macros --eval='%{_target_platform}' > ${destroot}${prefix}/etc/rpm/platform"
+	system "${worksrcpath}/rpm --macros=${worksrcpath}/macros --eval='noarch-%{_target_vendor}-%{_target_os}%{?_gnu}' >> ${destroot}${prefix}/etc/rpm/platform"
 
 	delete [glob ${destroot}${prefix}/lib/perl5/*/*/*/auto/RPM/.packlist]
 	delete [glob ${destroot}${prefix}/lib/perl5/*/*/perllocal.pod]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080814/25a9b4bc/attachment-0001.html 


More information about the macports-changes mailing list