[39253] trunk/dports/sysutils
afb at macports.org
afb at macports.org
Thu Aug 14 05:30:34 PDT 2008
Revision: 39253
http://trac.macosforge.org/projects/macports/changeset/39253
Author: afb at macports.org
Date: 2008-08-14 05:30:33 -0700 (Thu, 14 Aug 2008)
Log Message:
-----------
rpm51: release branch of RPM 5.1.x
Modified Paths:
--------------
trunk/dports/sysutils/rpm51/Portfile
Added Paths:
-----------
trunk/dports/sysutils/rpm51/
Copied: trunk/dports/sysutils/rpm51 (from rev 39158, trunk/dports/sysutils/rpm-devel)
Modified: trunk/dports/sysutils/rpm51/Portfile
===================================================================
--- trunk/dports/sysutils/rpm-devel/Portfile 2008-08-10 10:59:36 UTC (rev 39158)
+++ trunk/dports/sysutils/rpm51/Portfile 2008-08-14 12:30:33 UTC (rev 39253)
@@ -2,9 +2,8 @@
PortSystem 1.0
-name rpm-devel
-version 5.1
-revision 3
+name rpm51
+version 5.1.4
platforms darwin freebsd linux
categories sysutils archivers
maintainers n3npq at mac.com afb at macports.org
@@ -16,18 +15,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
-distname rpm-${version}.SNAPSHOT.${distdate}
-checksums md5 82a23802b3e6e56f11b89c19de4cadf2
-worksrcdir ${distname}
-#
-### CVS source
-#fetch.type cvs
-#cvs.root :pserver:anonymous at rpm5.org:/cvs
-#cvs.module rpm
-#cvs.tag HEAD
-#worksrcdir rpm
+master_sites ${homepage}/files/rpm/rpm-5.1/
+distname rpm-${version}
+checksums md5 9a04c22ce1dffc81a7e43d39b002aaa1
+worksrcdir rpm-${version}
depends_build port:expat port:neon \
port:python25 port:perl5.8 \
@@ -35,15 +26,14 @@
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
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
@@ -54,16 +44,14 @@
--without-apidocs --sysconfdir=${prefix}/etc --with-path-cfg=${prefix}/etc/rpm
configure.env __PYTHON=${prefix}/bin/python2.5 __PERL=${prefix}/bin/perl
-### CVS config
-#post-fetch { system "cd ${worksrcpath} && . devtool.bashrc && devtool checkout" }
-#pre-configure { system "cd ${worksrcpath} && . devtool.bashrc && devtool autogen" }
-
configure.args-append --with-lua=internal --with-db=internal
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/6e289623/attachment.html
More information about the macports-changes
mailing list