[100172] branches/pixilla-mysqls-55/dports/databases/mysqltcl/Portfile

pixilla at macports.org pixilla at macports.org
Sat Dec 1 12:02:59 PST 2012


Revision: 100172
          https://trac.macports.org/changeset/100172
Author:   pixilla at macports.org
Date:     2012-12-01 12:02:59 -0800 (Sat, 01 Dec 2012)
Log Message:
-----------
databases/mysqltcl:
- Depend on mysql55 instead of mysql5.
- Remove mysql4 variant.

Modified Paths:
--------------
    branches/pixilla-mysqls-55/dports/databases/mysqltcl/Portfile

Modified: branches/pixilla-mysqls-55/dports/databases/mysqltcl/Portfile
===================================================================
--- branches/pixilla-mysqls-55/dports/databases/mysqltcl/Portfile	2012-12-01 19:22:34 UTC (rev 100171)
+++ branches/pixilla-mysqls-55/dports/databases/mysqltcl/Portfile	2012-12-01 20:02:59 UTC (rev 100172)
@@ -4,6 +4,7 @@
 
 name		mysqltcl
 version		3.02
+revision    1
 categories	databases devel
 maintainers	nomaintainer
 description	Simple API for Mysql-Database and Tcl scripting language.
@@ -15,20 +16,19 @@
 master_sites	http://www.xdobry.de/mysqltcl/
 checksums	md5 bf408a7d1f10aec28102fd27cba1f6eb
 
-depends_lib     path:bin/mysql_config5:mysql5 \
+depends_lib     port:mysql55 \
 		port:tcl \
 		port:tk
 
 configure.args	--with-tcl=${prefix}/lib \
-		--with-mysql-include=${prefix}/include/mysql5/mysql \
-		--with-mysql-lib=${prefix}/lib/mysql5/mysql \
+		--with-mysql-include=${prefix}/include/mysql55/mysql \
+		--with-mysql-lib=${prefix}/lib/mysql55/mysql \
 		--mandir=${prefix}/share/man
 
-variant mysql4 description Install against mysql4 instead of mysql5 {
-	depends_lib-delete path:bin/mysql_config5:mysql5
-	depends_lib-append port:mysql4
-	configure.args_delete --with-mysql-include=${prefix}/include/mysql5/mysql
-	configure.args_delete --with-mysql-lib=${prefix}/lib/mysql5/mysql
-	configure.args_append --with-mysql-include=${prefix}/include/mysql
-	configure.args_append --with-mysql-lib=${prefix}/lib/mysql
-}
+post-destroot {
+
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README README-msqltcl \
+        ${destroot}${docdir}
+}
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121201/bcb5b574/attachment.html>


More information about the macports-changes mailing list