[90702] trunk/dports/databases

pixilla at macports.org pixilla at macports.org
Mon Mar 12 15:36:55 PDT 2012


Revision: 90702
          http://trac.macports.org/changeset/90702
Author:   pixilla at macports.org
Date:     2012-03-12 15:36:55 -0700 (Mon, 12 Mar 2012)
Log Message:
-----------
databases/mysql-connector-cpp
- New port, C++ Driver for MySQL (Connector/C++).

Added Paths:
-----------
    trunk/dports/databases/mysql-connector-cpp/
    trunk/dports/databases/mysql-connector-cpp/Portfile

Added: trunk/dports/databases/mysql-connector-cpp/Portfile
===================================================================
--- trunk/dports/databases/mysql-connector-cpp/Portfile	                        (rev 0)
+++ trunk/dports/databases/mysql-connector-cpp/Portfile	2012-03-12 22:36:55 UTC (rev 90702)
@@ -0,0 +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
+PortGroup           cmake 1.0
+
+name                mysql-connector-cpp
+set name_package    mysql-connector-c++
+version             1.1.0
+set branch          [join [lrange [split ${version} .] 0 1] .]
+categories          databases
+platforms           darwin
+maintainers         pixilla
+license             GPL-2
+description         The MySQL Connector/C++
+long_description    Standardized MySQL database driver for C++ development.
+
+set mirror_dir      Downloads/Connector-C++
+homepage            http://www.mysql.com/products/connector/
+master_sites        http://mysql.mirrors.pair.com/${mirror_dir} \
+                    http://mysql.he.net/${mirror_dir} \
+                    http://mirrors.sunsite.dk/mysql/${mirror_dir} \
+                    http://sunsite.informatik.rwth-aachen.de/mysql/${mirror_dir} \
+                    http://ftp.plusline.de/mysql/${mirror_dir}
+
+distname            ${name_package}-${version}
+checksums           rmd160  f98bf0a4c987f49054da62e1e86197049b03250a \
+                    sha256  dfb8933dada706a1b3188b162fc5a9686b5ed46323bf09548ce291e8dd4545e2
+
+depends_build-append \
+                    port:mysql55 \
+                    port:boost
+
+configure.args-append \
+                    -DMYSQL_CONFIG_EXECUTABLE:FILEPATH=${prefix}/bin/mysql_config55 \
+                    -DMYSQLCPPCONN_BUILD_EXAMPLES:BOOL=1
+
+post-destroot {
+    xinstall -d ${destroot}${prefix}/share/${name_package}
+    eval move [glob -type f ${destroot}${prefix}/*] \
+        ${destroot}${prefix}/share/${name_package}
+    copy ${worksrcpath}/examples \
+        ${destroot}${prefix}/share/${name_package}/
+}
+
+livecheck.type      regex
+livecheck.url       [lindex ${master_sites} 0]
+livecheck.regex     "\"mysql-connector-c\\+\\+-(\\d\[\\d\\.\]*)\\${extract.suffix}\""


Property changes on: trunk/dports/databases/mysql-connector-cpp/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120312/ef226e45/attachment.html>


More information about the macports-changes mailing list