[32522] trunk/dports/archivers/p7zip/Portfile
simon at macports.org
simon at macports.org
Sun Jan 6 08:25:03 PST 2008
Revision: 32522
http://trac.macosforge.org/projects/macports/changeset/32522
Author: simon at macports.org
Date: 2008-01-06 08:25:00 -0800 (Sun, 06 Jan 2008)
Log Message:
-----------
archivers/p7zip: Updated to version 4.57. Also make it possible to install as non root.
Modified Paths:
--------------
trunk/dports/archivers/p7zip/Portfile
Modified: trunk/dports/archivers/p7zip/Portfile
===================================================================
--- trunk/dports/archivers/p7zip/Portfile 2008-01-06 15:54:22 UTC (rev 32521)
+++ trunk/dports/archivers/p7zip/Portfile 2008-01-06 16:25:00 UTC (rev 32522)
@@ -3,7 +3,7 @@
PortSystem 1.0
name p7zip
-version 4.55
+version 4.57
categories archivers
maintainers nomaintainer
platforms darwin
@@ -20,9 +20,9 @@
use_bzip2 yes
distfiles ${distname}_src_all${extract.suffix}
-checksums md5 bb141529cf2374a2e15735f155273172 \
- sha1 7dd6f75c031f15f3d379af3e208e2e4d65f55bb7 \
- rmd160 d224572461f04b53976e2e45a6d1c34aabda18d8
+checksums md5 773f78d8b297eb858626667d4dfa93c7 \
+ sha1 eda5de3d35567e2633373dbe60313527a6a4db27 \
+ rmd160 af40563b4ead84d138e9fff03a2677540c50d29d
configure {
copy -force ${worksrcpath}/makefile.macosx ${worksrcpath}/makefile.machine
@@ -30,7 +30,8 @@
post-configure {
if {[variant_isset universal]} {
- reinplace "s|\$(LOCAL_FLAGS)|${configure.universal_cflags} \$(LOCAL_FLAGS)|g" ${worksrcpath}/makefile.machine
+ reinplace "s|\$(LOCAL_FLAGS)|${configure.universal_cflags} \$(LOCAL_FLAGS)|g" \
+ ${worksrcpath}/makefile.machine
}
}
@@ -39,3 +40,9 @@
DEST_MAN=${prefix}/share/man \
DEST_DIR=${destroot}
+post-destroot {
+ # Make sure the files are writable by the creating user, makes
+ # installation without sudo possible. I'm not really sure why this is
+ # necessary.
+ system "chmod -R 0755 ${destroot}${prefix}"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080106/c2c35216/attachment.html
More information about the macports-changes
mailing list