[39733] trunk/dports/sysutils/cdargs/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Sep 1 15:28:23 PDT 2008
Revision: 39733
http://trac.macosforge.org/projects/macports/changeset/39733
Author: ryandesign at macports.org
Date: 2008-09-01 15:28:22 -0700 (Mon, 01 Sep 2008)
Log Message:
-----------
cdargs: simplify destroot a little (use xinstall instead of file)
Modified Paths:
--------------
trunk/dports/sysutils/cdargs/Portfile
Modified: trunk/dports/sysutils/cdargs/Portfile
===================================================================
--- trunk/dports/sysutils/cdargs/Portfile 2008-09-01 22:22:21 UTC (rev 39732)
+++ trunk/dports/sysutils/cdargs/Portfile 2008-09-01 22:28:22 UTC (rev 39733)
@@ -34,9 +34,11 @@
post-destroot {
# Install helper files not installed by the Makefile
- file mkdir ${destroot}${prefix}/etc/profile.d
- file copy ${worksrcpath}/contrib/cdargs-bash.sh ${destroot}${prefix}/etc/profile.d
- file copy ${worksrcpath}/contrib/cdargs-tcsh.csh ${destroot}${prefix}/etc/profile.d
+ xinstall -d ${destroot}${prefix}/etc/profile.d
+ xinstall -m 644 -W ${worksrcpath}/contrib \
+ cdargs-bash.sh \
+ cdargs-tcsh.csh \
+ ${destroot}${prefix}/etc/profile.d
}
livecheck.url [lindex ${master_sites} 0]?N=D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080901/34a000e3/attachment.html
More information about the macports-changes
mailing list