[77198] trunk/dports/math/gts/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Mar 22 07:49:54 PDT 2011
Revision: 77198
http://trac.macports.org/changeset/77198
Author: ryandesign at macports.org
Date: 2011-03-22 07:49:54 -0700 (Tue, 22 Mar 2011)
Log Message:
-----------
gts: whitespace changes / reformatting only
Modified Paths:
--------------
trunk/dports/math/gts/Portfile
Modified: trunk/dports/math/gts/Portfile
===================================================================
--- trunk/dports/math/gts/Portfile 2011-03-22 14:46:02 UTC (rev 77197)
+++ trunk/dports/math/gts/Portfile 2011-03-22 14:49:54 UTC (rev 77198)
@@ -1,35 +1,38 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-PortGroup muniversal 1.0
-name gts
-version 0.7.6
+PortSystem 1.0
+PortGroup muniversal 1.0
+
+name gts
+version 0.7.6
revision 1
-categories math
-platforms darwin
-maintainers nomaintainer
-license LGPL-2+
+categories math
+platforms darwin
+maintainers nomaintainer
+license LGPL-2+
-description The GNU Triangulated Surface library
-long_description \
- GTS stands for the GNU Triangulated Surface Library. \
- It is an Open Source Free Software Library intended \
- to provide a set of useful functions to deal with \
- 3D surfaces meshed with interconnected triangles.
+description The GNU Triangulated Surface library
-homepage http://gts.sourceforge.net/
-master_sites sourceforge
+long_description GTS stands for the GNU Triangulated Surface Library. \
+ It is an Open Source Free Software Library intended \
+ to provide a set of useful functions to deal with \
+ 3D surfaces meshed with interconnected triangles.
-checksums md5 9f710aefd2ed9b3cc1b1216171fc5a8a
+homepage http://gts.sourceforge.net/
+master_sites sourceforge
-depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 port:netpbm
+checksums md5 9f710aefd2ed9b3cc1b1216171fc5a8a
+depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
+ port:netpbm
+
patchfiles patch-examples-happrox.c.diff
-if { [variant_isset universal] } {
+if {[variant_isset universal]} {
# Find architectures which will not run on build platform.
- if { ${os.arch}=="i386" } {
- if { ${os.major} >= 10 } {
+ if {${os.arch}=="i386"} {
+ if {${os.major} >= 10} {
set cross_archs "ppc ppc64"
} else {
set cross_archs "ppc64"
@@ -39,14 +42,14 @@
}
set run_arch [lindex ${universal_archs} 0]
- if { [lsearch ${cross_archs} ${run_arch}] >= 0 } {
+ if {[lsearch ${cross_archs} ${run_arch}] >= 0} {
ui_msg "When building a universal binary of ${name}, make sure none of {${cross_archs}} is first in universal_archs in ${prefix}/etc/macports/macports.conf"
error "incompatible universal_archs value"
}
-
+
post-configure {
foreach arch ${cross_archs} {
- if { [file exists ${worksrcpath}-${arch}/src/Makefile] } {
+ if {[file exists ${worksrcpath}-${arch}/src/Makefile]} {
reinplace "s|\\./predicates_init|${worksrcpath}-${run_arch}/src/predicates_init|" \
${worksrcpath}-${arch}/src/Makefile
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110322/93591a22/attachment.html>
More information about the macports-changes
mailing list