[32640] trunk/dports/archivers/p7zip
ryandesign at macports.org
ryandesign at macports.org
Wed Jan 9 23:51:00 PST 2008
Revision: 32640
http://trac.macosforge.org/projects/macports/changeset/32640
Author: ryandesign at macports.org
Date: 2008-01-09 23:50:59 -0800 (Wed, 09 Jan 2008)
Log Message:
-----------
p7zip: a solution for non-root installations that doesn't involve making all the documentation files executable
Modified Paths:
--------------
trunk/dports/archivers/p7zip/Portfile
Added Paths:
-----------
trunk/dports/archivers/p7zip/files/
trunk/dports/archivers/p7zip/files/patch-install.sh.diff
Modified: trunk/dports/archivers/p7zip/Portfile
===================================================================
--- trunk/dports/archivers/p7zip/Portfile 2008-01-10 07:38:23 UTC (rev 32639)
+++ trunk/dports/archivers/p7zip/Portfile 2008-01-10 07:50:59 UTC (rev 32640)
@@ -4,6 +4,7 @@
name p7zip
version 4.57
+revision 1
categories archivers
maintainers nomaintainer
platforms darwin
@@ -24,6 +25,8 @@
sha1 eda5de3d35567e2633373dbe60313527a6a4db27 \
rmd160 af40563b4ead84d138e9fff03a2677540c50d29d
+patchfiles patch-install.sh.diff
+
configure {
copy -force ${worksrcpath}/makefile.macosx ${worksrcpath}/makefile.machine
}
@@ -39,10 +42,3 @@
DEST_SHARE_DOC=${prefix}/share/doc/${name}-${version} \
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}"
-}
Added: trunk/dports/archivers/p7zip/files/patch-install.sh.diff
===================================================================
--- trunk/dports/archivers/p7zip/files/patch-install.sh.diff (rev 0)
+++ trunk/dports/archivers/p7zip/files/patch-install.sh.diff 2008-01-10 07:50:59 UTC (rev 32640)
@@ -0,0 +1,11 @@
+--- install.sh.orig 2008-01-10 01:39:25.000000000 -0600
++++ install.sh 2008-01-10 01:39:53.000000000 -0600
+@@ -168,7 +168,7 @@
+ echo "- installing HTML help in ${DEST_DIR}${DEST_SHARE_DOC}/DOCS"
+ mkdir -p ${DEST_DIR}${DEST_SHARE_DOC}
+ cp -r DOCS ${DEST_DIR}${DEST_SHARE_DOC}/DOCS
+- find ${DEST_DIR}${DEST_SHARE_DOC}/DOCS -type d -exec chmod 555 {} \;
++ find ${DEST_DIR}${DEST_SHARE_DOC}/DOCS -type d -exec chmod 755 {} \;
+ find ${DEST_DIR}${DEST_SHARE_DOC}/DOCS -type f -exec chmod 444 {} \;
+ fi
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080109/ef889433/attachment.html
More information about the macports-changes
mailing list