[84627] trunk/dports/graphics/shapelib/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Sep 28 22:54:07 PDT 2011


Revision: 84627
          http://trac.macports.org/changeset/84627
Author:   ryandesign at macports.org
Date:     2011-09-28 22:54:04 -0700 (Wed, 28 Sep 2011)
Log Message:
-----------
shapelib: whitespace changes / reformatting / add modeline

Modified Paths:
--------------
    trunk/dports/graphics/shapelib/Portfile

Modified: trunk/dports/graphics/shapelib/Portfile
===================================================================
--- trunk/dports/graphics/shapelib/Portfile	2011-09-29 05:40:26 UTC (rev 84626)
+++ trunk/dports/graphics/shapelib/Portfile	2011-09-29 05:54:04 UTC (rev 84627)
@@ -1,46 +1,48 @@
+# -*- 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
-name		shapelib
-version		1.2.10
-set libver	1
-categories	graphics
-maintainers	nomaintainer
-description	Library and tools for dealing with ESRI ShapeFiles
-long_description This software provides support for the ESRI ShapeFiles.
-homepage	http://gdal.velocet.ca/projects/shapelib/index.html
-platforms	darwin
-master_sites	http://dl.maptools.org/dl/shapelib/
-checksums	md5 4d96bd926167193d27bf14d56e2d484e
+PortSystem          1.0
 
-use_configure	no
-build.target    all shptree.o
+name                shapelib
+version             1.2.10
+set libver          1
+categories          graphics
+platforms           darwin
+maintainers         nomaintainer
 
-destroot.destdir
+description         Library and tools for dealing with ESRI ShapeFiles
 
-build.args		CC=${configure.cc} CFLAGS="${configure.cflags} ${configure.cc_archflags}"
+long_description    This software provides support for the ESRI ShapeFiles.
 
-post-build	{
-		  set libcmd "cd ${worksrcpath} && ${configure.cc} -dynamiclib -all_load \
-		  -install_name ${prefix}/lib/libshp.${version}.dylib \
-		  -compatibility_version ${version} ${configure.ld_archflags} \
-		  -o libshp.${version}.dylib shpopen.o shptree.o \
-		  dbfopen.o"
-		  ui_info $libcmd
-		  system $libcmd }
+homepage            http://gdal.velocet.ca/projects/shapelib/index.html
+master_sites        http://dl.maptools.org/dl/shapelib/
 
+checksums           md5     4d96bd926167193d27bf14d56e2d484e
+
+use_configure       no
+
+build.target        all shptree.o
+
+build.args          CC=${configure.cc} CFLAGS="${configure.cflags} ${configure.cc_archflags}"
+
+post-build {
+    set libcmd "cd ${worksrcpath} && ${configure.cc} -dynamiclib -all_load \
+        -install_name ${prefix}/lib/libshp.${version}.dylib \
+        -compatibility_version ${version} ${configure.ld_archflags} \
+        -o libshp.${version}.dylib shpopen.o shptree.o \
+        dbfopen.o"
+    ui_info $libcmd
+    system $libcmd
+}
+
+destroot.destdir
 destroot.target
 
-post-destroot	{
-		  xinstall -m 755 -d \
-		    ${destroot}${prefix}/include
-		  xinstall -m 755 -d \
-		    ${destroot}${prefix}/lib
-		  xinstall -m 644 -c -W ${worksrcpath} \
-		    shapefil.h ${destroot}${prefix}/include
-		  xinstall -m 644 -c -W ${worksrcpath} \
-		    libshp.${version}.dylib ${destroot}${prefix}/lib
-		  system "ln -sf libshp.${version}.dylib \
-		    ${destroot}${prefix}/lib/libshp.${libver}.dylib"
-		  system "ln -sf libshp.${version}.dylib \
-		    ${destroot}${prefix}/lib/libshp.dylib" }
+post-destroot {
+    xinstall -m 755 -d ${destroot}${prefix}/include
+    xinstall -m 755 -d ${destroot}${prefix}/lib
+    xinstall -m 644 -c -W ${worksrcpath} shapefil.h ${destroot}${prefix}/include
+    xinstall -m 644 -c -W ${worksrcpath} libshp.${version}.dylib ${destroot}${prefix}/lib
+    system "ln -sf libshp.${version}.dylib ${destroot}${prefix}/lib/libshp.${libver}.dylib"
+    system "ln -sf libshp.${version}.dylib ${destroot}${prefix}/lib/libshp.dylib"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110928/dcbc223e/attachment.html>


More information about the macports-changes mailing list