[86242] trunk/dports/sysutils/parallel/Portfile
ciserlohn at macports.org
ciserlohn at macports.org
Sun Oct 23 12:47:07 PDT 2011
Revision: 86242
http://trac.macports.org/changeset/86242
Author: ciserlohn at macports.org
Date: 2011-10-23 12:47:07 -0700 (Sun, 23 Oct 2011)
Log Message:
-----------
parallel: update to version 20111022
- use ${prefix}/bin/perl instead of /usr/bin/perl
- depend on the perl port otherwise ${prefix}/bin/perl won't work
- don't build as root (partly reverts r82939)
- add $SHELL to build.env (needed by sem)
Revision Links:
--------------
http://trac.macports.org/changeset/82939
Modified Paths:
--------------
trunk/dports/sysutils/parallel/Portfile
Modified: trunk/dports/sysutils/parallel/Portfile
===================================================================
--- trunk/dports/sysutils/parallel/Portfile 2011-10-23 19:46:33 UTC (rev 86241)
+++ trunk/dports/sysutils/parallel/Portfile 2011-10-23 19:47:07 UTC (rev 86242)
@@ -4,7 +4,7 @@
PortSystem 1.0
name parallel
-version 20110822
+version 20111022
categories sysutils
platforms darwin
maintainers ciserlohn
@@ -20,9 +20,24 @@
conflicts moreutils
-depends_lib bin:perl:perl5
+depends_lib port:perl5
-checksums rmd160 5b2b431d1889836e3a4f92342c9b0d65031952d8 \
- sha256 cbfe5b7a01850c1fe1c5487aba817bc2ec543441034e886dddbf0a9ed649d267
+checksums rmd160 b4a57dc2fa61b6f19934655c207d7e4fef90250b \
+ sha256 13cad4e66416282bc1a443b0f8219f38575a59664b0d744095506f751e3d2f51
-build.asroot yes
+post-patch {
+ set perl_bin ${prefix}/bin/perl
+ set src_dir ${worksrcpath}/src/
+ foreach f [list ${src_dir}niceload ${src_dir}sql ${src_dir}sem \
+ ${src_dir}parallel.pod ${src_dir}niceload.pod \
+ ${src_dir}parallel ${src_dir}sem.pod ] {
+ reinplace "s|/usr/bin/perl|${perl_bin}|" ${f}
+ }
+ foreach f [list ${src_dir}parallel ${src_dir}parallel.1 \
+ ${src_dir}parallel.pod ${src_dir}parallel.html \
+ ${src_dir}sql ${src_dir}sem ${worksrcpath}/NEWS] {
+ reinplace "s|/usr/bin/parallel|${prefix}/bin/parallel|" ${f}
+ }
+}
+
+build.env-append HOME=${workpath} SHELL=sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111023/0c7176ee/attachment.html>
More information about the macports-changes
mailing list