[91238] trunk/dports/databases/tcl-sqlite3/Portfile

mww at macports.org mww at macports.org
Mon Mar 26 16:40:16 PDT 2012


Revision: 91238
          https://trac.macports.org/changeset/91238
Author:   mww at macports.org
Date:     2012-03-26 16:40:16 -0700 (Mon, 26 Mar 2012)
Log Message:
-----------
tcl-sqlite3: whitespace changes only

Modified Paths:
--------------
    trunk/dports/databases/tcl-sqlite3/Portfile

Modified: trunk/dports/databases/tcl-sqlite3/Portfile
===================================================================
--- trunk/dports/databases/tcl-sqlite3/Portfile	2012-03-26 23:21:50 UTC (rev 91237)
+++ trunk/dports/databases/tcl-sqlite3/Portfile	2012-03-26 23:40:16 UTC (rev 91238)
@@ -2,63 +2,63 @@
 
 PortSystem 1.0
 
-name			tcl-sqlite3
-version			3.6.22
-revision        1
-categories		databases
-platforms		darwin
-maintainers		mww
-description		Tcl bindings for SQLite3
-long_description	${description}. SQLite3 is an SQL database engine in a C library. \
-				Programs that link the SQLite3 library can have SQL \
-				database access without running a separate RDBMS \
-				process. The distribution comes with a standalone \
-				command-line access program (sqlite3) that can be used \
-				to administer an SQLite3 database and which serves as \
-				an example of how to use the SQLite3 library.
+name                tcl-sqlite3
+version             3.6.22
+revision            1
+categories          databases
+platforms           darwin
+maintainers         mww
+description         Tcl bindings for SQLite3
+long_description    ${description}. SQLite3 is an SQL database engine in a C library. \
+                    Programs that link the SQLite3 library can have SQL \
+                    database access without running a separate RDBMS \
+                    process. The distribution comes with a standalone \
+                    command-line access program (sqlite3) that can be used \
+                    to administer an SQLite3 database and which serves as \
+                    an example of how to use the SQLite3 library.
 
-homepage		http://www.sqlite.org/
-master_sites	${homepage}
-distname		sqlite-${version}
-dist_subdir		sqlite3
+homepage            http://www.sqlite.org/
+master_sites        ${homepage}
+distname            sqlite-${version}
+dist_subdir         sqlite3
 checksums           md5     a17bd53f1fde11f84adf79c6a1510ce5 \
                     sha1    7a29a469d5e28040224a934ed0c28041412876d8 \
                     rmd160  3de220362e58589649b068519b9d2aa021371ca4
 
-depends_lib		port:readline \
-				port:sqlite3 \
-				port:tcl
+depends_lib         port:readline \
+                    port:sqlite3 \
+                    port:tcl
 
-patchfiles      tcl-shlib-suffix.diff
+patchfiles          tcl-shlib-suffix.diff
 
 post-patch {
-	reinplace "s|tclsh8.4|tclsh|g" ${worksrcpath}/configure
+    reinplace "s|tclsh8.4|tclsh|g" ${worksrcpath}/configure
 }
 
 # '-lm' makes freebsd happy & darwin not angry (and makes variants unnecessary)
-configure.args	--enable-threadsafe --with-tcl=${prefix}/lib \
-			--with-readline-inc="-I${prefix}/include" \
-			--with-readline-lib="-L${prefix}/lib -lreadline -lm"
-configure.cppflags	"-DSQLITE_ENABLE_COLUMN_METADATA=1 -I${worksrcpath} -I${prefix}/include"
+configure.args      --enable-threadsafe --with-tcl=${prefix}/lib \
+                    --with-readline-inc="-I${prefix}/include" \
+                    --with-readline-lib="-L${prefix}/lib -lreadline -lm"
+configure.cppflags  "-DSQLITE_ENABLE_COLUMN_METADATA=1 -I${worksrcpath} -I${prefix}/include"
 
-use_parallel_build	yes
-build.type		gnu
+use_parallel_build  yes
+build.type          gnu
 
-livecheck.type	regex
-livecheck.url	http://www.sqlite.org/download.html
-livecheck.regex	sqlite-(\[0-9\\.\]+\[0-9\])\\.
+livecheck.type      regex
+livecheck.url       http://www.sqlite.org/download.html
+livecheck.regex     sqlite-(\[0-9\\.\]+\[0-9\])\\.
 
 post-destroot {
-	# Make sure the correct version is used, not sure why this is
-	# necessary.
-	reinplace "s|3.6|${version}|g" ${destroot}${prefix}/lib/tcl8.5/sqlite3/pkgIndex.tcl
-	# Delete all normal SQLite 3 files, they are installed by the sqlite3
-	# port.
-	file delete -force ${destroot}${prefix}/bin
-	file delete -force ${destroot}${prefix}/include
-	file delete -force ${destroot}${prefix}/share
-	file delete -force ${destroot}${prefix}/lib/pkgconfig
-	foreach file [glob ${destroot}${prefix}/lib/libsqlite*] {
-		file delete $file
-	}
+    # Make sure the correct version is used, not sure why this is
+    # necessary.
+    reinplace "s|3.6|${version}|g" ${destroot}${prefix}/lib/tcl8.5/sqlite3/pkgIndex.tcl
+    # Delete all normal SQLite 3 files, they are installed by the sqlite3
+    # port.
+    file delete -force ${destroot}${prefix}/bin
+    file delete -force ${destroot}${prefix}/include
+    file delete -force ${destroot}${prefix}/share
+    file delete -force ${destroot}${prefix}/lib/pkgconfig
+    foreach file [glob ${destroot}${prefix}/lib/libsqlite*] {
+        file delete $file
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120326/640e3d33/attachment-0001.html>


More information about the macports-changes mailing list