[31501] trunk/dports/graphics/wings/Portfile

bfulgham at macports.org bfulgham at macports.org
Sun Nov 25 21:54:58 PST 2007


Revision: 31501
          http://trac.macosforge.org/projects/macports/changeset/31501
Author:   bfulgham at macports.org
Date:     2007-11-25 21:54:57 -0800 (Sun, 25 Nov 2007)

Log Message:
-----------
Update portfile to remove improper use of 'cd' command.

Modified Paths:
--------------
    trunk/dports/graphics/wings/Portfile

Modified: trunk/dports/graphics/wings/Portfile
===================================================================
--- trunk/dports/graphics/wings/Portfile	2007-11-26 05:47:26 UTC (rev 31500)
+++ trunk/dports/graphics/wings/Portfile	2007-11-26 05:54:57 UTC (rev 31501)
@@ -4,9 +4,10 @@
 
 name			wings
 version			0.98.32a
+revision		1
 categories		graphics erlang
 platforms		darwin
-maintainers		bfulgham at mac.com
+maintainers		bfulgham at macports.org
 description		Erlang 3D Modeler
 long_description	Wings 3D is a subdivision modeler inspired by \
 				Nendo and Mirai from Izware.
@@ -26,13 +27,13 @@
 set wingsdest	${destroot}${prefix}/lib/erlang/lib/wings-${version}
 
 post-destroot		{
-	cd ${worksrcpath}
 	xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 0644 README AUTHORS license.terms ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 0644 -W ${worksrcpath} README AUTHORS license.terms ${destroot}${prefix}/share/doc/${name}
 
 	xinstall -d -m 0755 ${destroot}${prefix}/bin
 	xinstall -m 755 ${filespath}/wings.sh ${destroot}${prefix}/bin
 	reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/bin/wings.sh
+
 	system "cd ${destroot}${prefix}/bin && ln -s wings.sh wings"
 
 	xinstall -d -m 0755 ${wingsdest}/patches

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


More information about the macports-changes mailing list