[26583] trunk/dports/science/triangle/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jun 28 23:15:08 PDT 2007
Revision: 26583
http://trac.macosforge.org/projects/macports/changeset/26583
Author: jwa at macports.org
Date: 2007-06-28 23:15:08 -0700 (Thu, 28 Jun 2007)
Log Message:
-----------
adding livecheck, whitespace changes
Modified Paths:
--------------
trunk/dports/science/triangle/Portfile
Modified: trunk/dports/science/triangle/Portfile
===================================================================
--- trunk/dports/science/triangle/Portfile 2007-06-29 05:19:53 UTC (rev 26582)
+++ trunk/dports/science/triangle/Portfile 2007-06-29 06:15:08 UTC (rev 26583)
@@ -7,10 +7,10 @@
maintainers jwa openmaintainer at macports.org
description A Two-Dimensional Quality Mesh Generator and Delaunay Triangulator
long_description Triangle generates exact Delaunay triangulations, \
- constrained Delaunay triangulations, conforming Delaunay \
- triangulations, Voronoi diagrams, and high-quality triangular \
- meshes. The latter can be generated with no small or large \
- angles, and are thus suitable for finite element analysis.
+ constrained Delaunay triangulations, conforming Delaunay \
+ triangulations, Voronoi diagrams, and high-quality triangular \
+ meshes. The latter can be generated with no small or large \
+ angles, and are thus suitable for finite element analysis.
platforms darwin
@@ -28,10 +28,10 @@
extract.post_args "| sh"
post-extract {
- cd ${workpath}
- file mkdir ${worksrcdir}
- eval file rename [glob \[A-s\]* t*.?] ${worksrcdir}
- reinplace "s/-DLINUX//" ${worksrcdir}/makefile
+ cd ${workpath}
+ file mkdir ${worksrcdir}
+ eval file rename [glob \[A-s\]* t*.?] ${worksrcdir}
+ reinplace "s/-DLINUX//" ${worksrcdir}/makefile
}
depends_lib lib:libX11.6:XFree86
@@ -44,8 +44,12 @@
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
+ 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.check regex
+livecheck.url ${homepage}
+livecheck.regex Triangle \\(version (1\.\[0-9\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070628/6d7f9acb/attachment.html
More information about the macports-changes
mailing list