[68356] trunk/dports/science/triangle/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Jun 1 18:20:11 PDT 2010


Revision: 68356
          http://trac.macports.org/changeset/68356
Author:   ryandesign at macports.org
Date:     2010-06-01 18:20:08 -0700 (Tue, 01 Jun 2010)
Log Message:
-----------
triangle: simplify destroot

Modified Paths:
--------------
    trunk/dports/science/triangle/Portfile

Modified: trunk/dports/science/triangle/Portfile
===================================================================
--- trunk/dports/science/triangle/Portfile	2010-06-02 01:16:57 UTC (rev 68355)
+++ trunk/dports/science/triangle/Portfile	2010-06-02 01:20:08 UTC (rev 68356)
@@ -39,17 +39,11 @@
 use_configure		no
 
 destroot	{
+    xinstall -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 -W ${worksrcpath} A.poly README ${destroot}${prefix}/share/doc/${name}
+    xinstall -W ${worksrcpath} triangle showme ${destroot}${prefix}/bin
 }
 
-destroot.destdir	BINDIR=${destroot}${prefix}/bin
-
-post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
-	${destroot}${prefix}/bin
-    eval xinstall -m 644 -W ${worksrcpath} A.poly README ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 755 -W ${worksrcpath} triangle showme ${destroot}${prefix}/bin
-}
-
 livecheck.type	regex
 livecheck.url	${homepage}
 livecheck.regex	Version (1\.\[0-9\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100601/6d7071b7/attachment.html>


More information about the macports-changes mailing list