[32773] trunk/dports/net/radmind/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jan 13 02:53:54 PST 2008


Revision: 32773
          http://trac.macosforge.org/projects/macports/changeset/32773
Author:   ryandesign at macports.org
Date:     2008-01-13 02:53:53 -0800 (Sun, 13 Jan 2008)

Log Message:
-----------
radmind: no longer use the deprecated 'cd' command

Modified Paths:
--------------
    trunk/dports/net/radmind/Portfile

Modified: trunk/dports/net/radmind/Portfile
===================================================================
--- trunk/dports/net/radmind/Portfile	2008-01-13 10:48:46 UTC (rev 32772)
+++ trunk/dports/net/radmind/Portfile	2008-01-13 10:53:53 UTC (rev 32773)
@@ -36,9 +36,8 @@
 					${destroot}${prefix}/var/radmind/tmp/transcript \
 					${destroot}${prefix}/var/radmind/transcript
 post-destroot {
-	cd ${worksrcpath}
 	xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 0644 COPYRIGHT README SPEC \
+	xinstall -m 0644 -W ${worksrcpath} COPYRIGHT README SPEC \
 		${destroot}${prefix}/share/doc/${name}
 
 	xinstall -d -m 0750 ${destroot}${prefix}/var/radmind/cert
@@ -53,10 +52,8 @@
 	xinstall -d -m 0750 ${destroot}${prefix}/var/radmind/tmp/transcript
 	xinstall -d -m 0750 ${destroot}${prefix}/var/radmind/transcript
 
-	cd ${destroot}${prefix}/var/radmind/cert
-	system "echo 'Place ca.pem & cert.pem files in this directory.' >README"
-	cd ${destroot}${prefix}/var/radmind/client
-	system "echo 'Place command files in this directory.' >README"
+	system "echo 'Place ca.pem & cert.pem files in this directory.' > ${destroot}${prefix}/var/radmind/cert/README"
+	system "echo 'Place command files in this directory.' > ${destroot}${prefix}/var/radmind/client/README"
 
 	# radmind start/stop rc script (if non-Darwin)
 	if {![variant_isset darwin]} {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080113/db22890b/attachment.html


More information about the macports-changes mailing list