Revision
68356
Author
ryandesign@macports.org
Date
2010-06-01 18:20:08 -0700 (Tue, 01 Jun 2010)

Log Message

triangle: simplify destroot

Modified Paths

Diff

Modified: trunk/dports/science/triangle/Portfile (68355 => 68356)


--- 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\]+)