[144364] trunk/dports/sysutils/rpm53/Portfile
devans at macports.org
devans at macports.org
Wed Jan 6 20:28:39 PST 2016
Revision: 144364
https://trac.macports.org/changeset/144364
Author: devans at macports.org
Date: 2016-01-06 20:28:39 -0800 (Wed, 06 Jan 2016)
Log Message:
-----------
rpm53: fix usage of obsolete port group.
Modified Paths:
--------------
trunk/dports/sysutils/rpm53/Portfile
Modified: trunk/dports/sysutils/rpm53/Portfile
===================================================================
--- trunk/dports/sysutils/rpm53/Portfile 2016-01-07 04:17:37 UTC (rev 144363)
+++ trunk/dports/sysutils/rpm53/Portfile 2016-01-07 04:28:39 UTC (rev 144364)
@@ -3,134 +3,12 @@
PortSystem 1.0
# This port can be removed on Jan 6, 2017.
-replaced_by rpm54
-PortGroup obsolete 1.0
name rpm53
version 5.3.11
-revision 3
-set date 20110602
-set branch [join [lrange [split ${version} .] 0 1] .]
-platforms darwin freebsd linux
+revision 4
license LGPL-2.1
categories sysutils archivers
-maintainers nomaintainer
-description The RPM package management system.
-long_description The RPM Package Manager (RPM) is a powerful command line driven \
- package management system capable of installing, uninstalling, \
- verifying, querying, and updating software packages. Each software \
- package consists of an archive of files along with information about \
- the package like its version, a description, etc.
-homepage http://rpm5.org
-master_sites ${homepage}/files/rpm/rpm-${branch}/
-distname rpm-${version}-0.${date}
-extract.suffix .src.rpm
-checksums md5 5187a796c2fed092544c3c6c0f3db55a \
- sha1 7ead6e27a6df3741312e217e96b78b26e19845cc \
- rmd160 fa9b6d83376cb3e20d0969e0394d1516ee89cc52
-worksrcdir rpm-${version}
-
-depends_build port:expat port:neon \
- port:python27 port:perl5.22 \
- port:readline port:beecrypt \
- port:libiconv port:gettext
-
-depends_lib lib:libhistory.5:readline port:gettext \
- port:popt port:sqlite3 port:xar-devel \
- port:xz port:pcre port:ossp-uuid \
- port:db51
-
-depends_run path:lib/libssl.dylib:openssl \
- bin:gzip:gzip \
- bin:bzip2:bzip2 \
- bin:unzip:unzip
-
-patchfiles rpm_patchset_16081.diff
-
-extract.cmd ${filespath}/rpm2cpio.sh
-extract.pre_args ""
-extract.post_args "| cpio -dvim"
-
-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.7 --with-perl --with-sqlite --with-db=external \
- --with-neon=external --with-beecrypt=external --with-popt=external \
- --with-xar=external --with-xz=external --with-pcre=external --with-uuid=external \
- --without-apidocs --sysconfdir=${prefix}/etc --with-path-cfg=${prefix}/etc/rpm
-configure.env __PYTHON=${prefix}/bin/python2.7 __PERL=${prefix}/bin/perl5.22 \
- PERL=${prefix}/bin/perl5.22
-
-
-configure.args-append --disable-openmp --with-lua=internal --with-syck=internal
-configure.cppflags-append -I${prefix}/include/xar -I${prefix}/include/ossp
-
-configure.cppflags-append -I${prefix}/include/db51
-configure.ldflags-append -L${prefix}/lib/db51
-
-post-extract {
- system -W ${workpath} "${portutil::autoconf::tar_command} -xzf rpm-${version}.tar.gz"
-}
-
-post-patch {
- reinplace "s,sys/ipc.h,sys/endian.h sys/ipc.h," ${worksrcpath}/configure
-}
-
-post-destroot {
- 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]
-
- # where the RPM database lives
- destroot.keepdirs ${destroot}${prefix}/etc/rpm\
- ${destroot}${prefix}/var/lib/rpm\
- ${destroot}${prefix}/var/spool/repackage\
- ${destroot}${prefix}/src/rpm/BUILD\
- ${destroot}${prefix}/src/rpm/RPMS\
- ${destroot}${prefix}/src/rpm/SOURCES\
- ${destroot}${prefix}/src/rpm/SPECS\
- ${destroot}${prefix}/src/rpm/SRPMS
-}
-
-platform darwin {
- configure.args-append --disable-optimized --disable-aio \
- --with-glob --enable-broken-chown \
- --disable-rpath
-
- post-destroot {
- # Mac OS X specific changes
- }
-}
-
-platform freebsd {
-
- post-destroot {
- # FreeBSD specific changes
- reinplace "s;/usr/bin/tar;/usr/local/bin/gtar;" ${destroot}${prefix}/lib/rpm/macros
- reinplace "s;/usr/bin/make;/usr/local/bin/gmake;" ${destroot}${prefix}/lib/rpm/macros
- }
-}
-
-platform linux {
-
- post-destroot {
- # Linux specific changes
- }
-}
-
-variant docs description "API documentation" {
- depends_build-append port:doxygen path:bin/dot:graphviz
- configure.args-delete --without-apidocs
- configure.args-append --with-apidocs
-}
-
-livecheck.type regex
-# get the last modified tarball
-livecheck.url ${master_sites}
-livecheck.regex rpm-(\[0-9\\.\]+)${extract.suffix}
+replaced_by rpm54
+PortGroup obsolete 1.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160106/ed80440f/attachment-0001.html>
More information about the macports-changes
mailing list