[34706] trunk/dports/sysutils/rpm50/Portfile

afb at macports.org afb at macports.org
Mon Mar 3 10:19:13 PST 2008


Revision: 34706
          http://trac.macosforge.org/projects/macports/changeset/34706
Author:   afb at macports.org
Date:     2008-03-03 10:19:07 -0800 (Mon, 03 Mar 2008)

Log Message:
-----------
port upgrade: RPM 5.0.3

Modified Paths:
--------------
    trunk/dports/sysutils/rpm50/Portfile

Modified: trunk/dports/sysutils/rpm50/Portfile
===================================================================
--- trunk/dports/sysutils/rpm50/Portfile	2008-03-03 15:22:49 UTC (rev 34705)
+++ trunk/dports/sysutils/rpm50/Portfile	2008-03-03 18:19:07 UTC (rev 34706)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name			rpm50
-version			5.0.1
+version			5.0.3
 platforms		darwin freebsd linux
 categories		sysutils archivers
 maintainers		n3npq at mac.com afb at macports.org
@@ -17,7 +17,7 @@
 homepage		http://rpm5.org
 master_sites		${homepage}/files/rpm/rpm-5.0
 distname		rpm-${version}
-checksums		md5 4a19c36b9fd99aca2a96ee5408af4fe3
+checksums		md5 b3df4e54e84cf3344ce6b76fa2a8d5bf
 worksrcdir		rpm-${version}
 
 depends_build		port:expat port:neon \
@@ -33,8 +33,7 @@
                         bin:bzip2:bzip2 \
                         bin:unzip:unzip
 
-patchfiles		patch-macros.in \
-			patch-rpmevr.h
+patchfiles		patch-macros.in
 
 build.type		gnu
 
@@ -50,7 +49,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/20080303/24a2b082/attachment.html 


More information about the macports-changes mailing list