[53430] trunk/dports/databases/freetds/Portfile

dh at macports.org dh at macports.org
Sun Jul 5 17:23:54 PDT 2009


Revision: 53430
          http://trac.macports.org/changeset/53430
Author:   dh at macports.org
Date:     2009-07-05 17:23:54 -0700 (Sun, 05 Jul 2009)
Log Message:
-----------
* Whitespace changes only - clean up format

Modified Paths:
--------------
    trunk/dports/databases/freetds/Portfile

Modified: trunk/dports/databases/freetds/Portfile
===================================================================
--- trunk/dports/databases/freetds/Portfile	2009-07-06 00:18:24 UTC (rev 53429)
+++ trunk/dports/databases/freetds/Portfile	2009-07-06 00:23:54 UTC (rev 53430)
@@ -3,60 +3,68 @@
 
 PortSystem 1.0
 
-name			freetds
-version			0.82
-categories		databases
-platforms		darwin
-maintainers		nomaintainer
-description		A set of libraries for Unix and Linux that allows your programs to natively talk to Microsoft SQL Server and Sybase databases
-long_description FreeTDS is an open source implementation of the TDS (Tabular DataStream) protocol used by these databases for their own clients. It supports many different flavors of the protocol and supports several APIs to access it. Additionally FreeTDS works with other software such as Perl and PHP, providing access from those languages as well. There is also a native (type 4) JDBC driver available for platform-independent Java clients (including Java Server Pages applications), with support for most of the JDBC 1 API and portions of the JDBC 2 API.
+name                freetds
+version             0.82
+categories          databases
+platforms           darwin
+maintainers         nomaintainer
+description         A set of libraries for Unix and Linux that allows your programs to natively \
+                    talk to Microsoft SQL Server and Sybase databases
+long_description    FreeTDS is an open source implementation of the TDS (Tabular DataStream) \
+                    protocol used by these databases for their own clients. It supports many \
+                    different flavors of the protocol and supports several APIs to access it. \
+                    Additionally FreeTDS works with other software such as Perl and PHP, \
+                    providing access from those languages as well. There is also a native (type 4) \
+                    JDBC driver available for platform-independent Java clients (including Java \
+                    Server Pages applications), with support for most of the JDBC 1 API and \
+                    portions of the JDBC 2 API.
 
-homepage	http://www.freetds.org/
-master_sites    ftp://ftp.ibiblio.org/pub/Linux/ALPHA/${name}/stable/ \
-                http://ibiblio.org/pub/Linux/ALPHA/${name}/stable/ \
-                http://ibiblio.org/pub/Linux/ALPHA/${name}/old/${version}/
-checksums	md5 3df6b2e83fd420e90f1becbd1162990a \
-		sha1 7e2a0c9e41c240c2d1c7f69c6f278e9a5bb80c2d \
-		rmd160 d3596c512022332cdb3bab375950159f1e930a4b
-depends_lib	port:libiconv port:ncurses port:readline
-patchfiles    patch-cspublic.h
-configure.args	--mandir=${prefix}/share/man \
-		--includedir=${prefix}/include/${name} \
-		--sysconfdir=${prefix}/etc/${name} \
-		--with-libiconv-prefix=${prefix}
+homepage            http://www.freetds.org/
+master_sites        ftp://ftp.ibiblio.org/pub/Linux/ALPHA/${name}/stable/ \
+                    http://ibiblio.org/pub/Linux/ALPHA/${name}/stable/ \
+                    http://ibiblio.org/pub/Linux/ALPHA/${name}/old/${version}/
+checksums           md5 3df6b2e83fd420e90f1becbd1162990a \
+                    sha1 7e2a0c9e41c240c2d1c7f69c6f278e9a5bb80c2d \
+                    rmd160 d3596c512022332cdb3bab375950159f1e930a4b
+depends_lib         port:libiconv port:ncurses port:readline
+patchfiles          patch-cspublic.h
+configure.args      --mandir=${prefix}/share/man \
+                    --includedir=${prefix}/include/${name} \
+                    --sysconfdir=${prefix}/etc/${name} \
+                    --with-libiconv-prefix=${prefix}
 
-use_parallel_build	yes
+use_parallel_build  yes
 
 post-destroot {
-	file rename ${destroot}${prefix}/share/doc/${name}-${version} \
-		${destroot}${prefix}/share/doc/${name}
+    file rename ${destroot}${prefix}/share/doc/${name}-${version} \
+        ${destroot}${prefix}/share/doc/${name}
 }
 
 post-patch {
-	reinplace "s|../replacements/libreplacements.la||g" \
-		${worksrcpath}/src/server/Makefile.in \
-		${worksrcpath}/src/ctlib/Makefile.in \
-		${worksrcpath}/src/odbc/Makefile.in \
-		${worksrcpath}/src/dblib/Makefile.in \
-		${worksrcpath}/src/apps/Makefile.in
+    reinplace "s|../replacements/libreplacements.la||g" \
+        ${worksrcpath}/src/server/Makefile.in \
+        ${worksrcpath}/src/ctlib/Makefile.in \
+        ${worksrcpath}/src/odbc/Makefile.in \
+        ${worksrcpath}/src/dblib/Makefile.in \
+        ${worksrcpath}/src/apps/Makefile.in
 
-	reinplace "s|../../replacements/libreplacements.la||g" \
-		${worksrcpath}/src/apps/fisql/Makefile.in \
-		${worksrcpath}/src/dblib/unittests/Makefile.in \
-		${worksrcpath}/src/tds/unittests/Makefile.in
+    reinplace "s|../../replacements/libreplacements.la||g" \
+        ${worksrcpath}/src/apps/fisql/Makefile.in \
+        ${worksrcpath}/src/dblib/unittests/Makefile.in \
+        ${worksrcpath}/src/tds/unittests/Makefile.in
 }
 
 platform darwin 7 {
-	pre-build {
-		system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
-	}
+    pre-build {
+        system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
+    }
 }
 
 platform darwin 9 {
-	pre-build {
-		system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
-		reinplace "s|\"gcc\"|\"${configure.cc}\"|" ${worksrcpath}/libtool
-	}
+    pre-build {
+        system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
+        reinplace "s|\"gcc\"|\"${configure.cc}\"|" ${worksrcpath}/libtool
+    }
 }
 
 variant mssql description {Use MS style dblib} {
@@ -64,8 +72,8 @@
 }
 
 variant odbc description {Build odbc driver against unixODBC} {
-	depends_lib-append port:unixODBC
-	configure.args-append --with-unixodbc=${prefix}
+    depends_lib-append port:unixODBC
+    configure.args-append --with-unixodbc=${prefix}
 }
 
 livecheck.check regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090705/3cfaa8b8/attachment.html>


More information about the macports-changes mailing list