[94475] trunk/dports/python/py-mysql/Portfile
blair at macports.org
blair at macports.org
Tue Jun 19 22:10:03 PDT 2012
Revision: 94475
https://trac.macports.org/changeset/94475
Author: blair at macports.org
Date: 2012-06-19 22:10:01 -0700 (Tue, 19 Jun 2012)
Log Message:
-----------
py-mysql: trim trailing whitespace.
Modified Paths:
--------------
trunk/dports/python/py-mysql/Portfile
Modified: trunk/dports/python/py-mysql/Portfile
===================================================================
--- trunk/dports/python/py-mysql/Portfile 2012-06-20 03:56:08 UTC (rev 94474)
+++ trunk/dports/python/py-mysql/Portfile 2012-06-20 05:10:01 UTC (rev 94475)
@@ -28,43 +28,43 @@
if {$subport != $name} {
depends_lib-append port:py${python.version}-distribute
-
+
patch.pre_args -p1
patchfiles patch-site.cfg.diff
-
+
post-patch {
reinplace "s|@PREFIX@|${prefix}|g" \
${worksrcpath}/site.cfg
reinplace "s|@MYSQL_SUFFIX@|${mysql_suffix}|g" \
${worksrcpath}/site.cfg
}
-
+
pre-configure {
if {![variant_isset mysql4] && ![variant_isset mysql5]} {
return -code error "you must select either mysql4 or mysql5"
}
}
-
+
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} \
HISTORY README \
${destroot}${prefix}/share/doc/${subport}
}
-
+
variant mysql4 conflicts mysql5 description {Build with MySQL 4} {
depends_lib-append port:mysql4
}
-
+
variant mysql5 conflicts mysql4 description {Build with MySQL 5} {
depends_lib-append path:bin/mysql_config5:mysql5
}
-
+
set mysql_suffix {}
if {![variant_isset mysql4]} {
set mysql_suffix 5
default_variants +mysql5
}
-
+
livecheck.type none
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120619/48222a2b/attachment.html>
More information about the macports-changes
mailing list