[41613] trunk/dports/science/triangle/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Fri Nov 7 05:51:39 PST 2008
Revision: 41613
http://trac.macports.org/changeset/41613
Author: mcalhoun at macports.org
Date: 2008-11-07 05:51:38 -0800 (Fri, 07 Nov 2008)
Log Message:
-----------
triangle: Old master_sites do not seem to work, so added new ones.
Ensure that x11prefix and configure.cc were being used.
Modified Paths:
--------------
trunk/dports/science/triangle/Portfile
Modified: trunk/dports/science/triangle/Portfile
===================================================================
--- trunk/dports/science/triangle/Portfile 2008-11-07 13:34:36 UTC (rev 41612)
+++ trunk/dports/science/triangle/Portfile 2008-11-07 13:51:38 UTC (rev 41613)
@@ -16,26 +16,31 @@
platforms darwin
homepage http://www.cs.cmu.edu/~quake/triangle.html
-master_sites http://cm.bell-labs.com/netlib/voronoi/
-distname ${name}.shar
+master_sites http://www.netlib.org/voronoi/
+distname ${name}
worksrcdir ${name}
-checksums sha1 b581366c09340f33c634eb2bb724881924fe87a3
+checksums md5 10aff8d7950f5e0e2fb6dd2e340be2c9 \
+ sha1 63d11e0b5bf097eb946a4da4ee18ddf279e16fc4 \
+ rmd160 12be39ae4e34fc14ef3f9982e28a242abe200307
-extract.suffix .gz
-extract.cmd gzip
-extract.pre_args -dc
-extract.post_args "| sh"
+use_zip yes
post-extract {
file mkdir ${worksrcpath}
eval file rename [glob -directory ${workpath} \[A-s\]* t*.?] ${worksrcpath}
reinplace "s/-DLINUX//" ${worksrcpath}/makefile
+ reinplace "s|/usr/X11R6|${x11prefix}|g" ${worksrcpath}/makefile
+ reinplace "s|/usr/X11R6|${x11prefix}|g" ${worksrcpath}/makefile
}
-depends_lib lib:libX11.6:XFree86
+post-configure {
+ reinplace "s|CC = cc|CC = ${configure.cc}|g" ${worksrcpath}/makefile
+}
+depends_lib lib:libX11:xorg
+
use_configure no
destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081107/5a080a53/attachment.html>
More information about the macports-changes
mailing list