[74214] trunk/dports/sysutils/duplicity/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Dec 7 12:17:29 PST 2010
Revision: 74214
http://trac.macports.org/changeset/74214
Author: ryandesign at macports.org
Date: 2010-12-07 12:17:24 -0800 (Tue, 07 Dec 2010)
Log Message:
-----------
duplicity: install manpages into the destroot during the destroot phase, not during the build phase; simplify xinstall command using -W argument
Modified Paths:
--------------
trunk/dports/sysutils/duplicity/Portfile
Modified: trunk/dports/sysutils/duplicity/Portfile
===================================================================
--- trunk/dports/sysutils/duplicity/Portfile 2010-12-07 20:02:25 UTC (rev 74213)
+++ trunk/dports/sysutils/duplicity/Portfile 2010-12-07 20:17:24 UTC (rev 74214)
@@ -30,17 +30,17 @@
rmd160 1d2666b06c71ef66aacbbc72a73506cbec7b9c07
build.args --librsync-dir=${prefix}
-post-build {
- set mandir ${destroot}${prefix}/share/man/
- xinstall -d ${mandir}/man1
- xinstall ${worksrcpath}/${name}.1 \
- ${worksrcpath}/rdiffdir.1 \
- ${mandir}/man1/
-}
universal_variant no
python.link_binaries yes
post-destroot {
ln -s ${name}-${python.branch} ${destroot}${prefix}/bin/${name}
+
+ set mandir ${destroot}${prefix}/share/man/
+ xinstall -d ${mandir}/man1
+ xinstall -m 644 -W ${worksrcpath} \
+ ${name}.1 \
+ rdiffdir.1 \
+ ${mandir}/man1/
}
depends_run-append port:py27-gnupg \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101207/3e1b8280/attachment.html>
More information about the macports-changes
mailing list