diff options
author | jaapb <jaapb> | 2012-09-16 20:12:08 +0000 |
---|---|---|
committer | jaapb <jaapb> | 2012-09-16 20:12:08 +0000 |
commit | de860467480afd06f271528b4e0aa73833feba91 (patch) | |
tree | 52a61e979815f3a349d2f1048ea9098327bc734d /databases/ocaml-mysql/Makefile | |
parent | d36f8c1b5b99c80b68a444d8ed056c3d1d0b9de3 (diff) | |
download | pkgsrc-de860467480afd06f271528b4e0aa73833feba91.tar.gz |
Updated version to 1.1.1. Changes:
* Sat May 19 2012 (1.1.1)
* Support build with ocaml/msvc and ocaml/mingw (Dmitry Grebeniuk)
* Update build tools (Dmitry Grebeniuk)
* OCaml 3.12 compatibility
* Mysql.Prepared: documentation comments
* Mysql.Prepared.result_metadata (Hezekiah M. Carty)
* Mysql.quick_connect: optional unix socket path
* Mysql.quick_connect: optional connection options
* Sat Dec 26 2009 (1.1.0)
* Project moved to http://ocaml-mysql.forge.ocamlcore.org
* Fix crash bugs (mainly in GC & threads interaction)
* Trigger GC less often (Mysql.connect and Mysql.execute)
* Mysql.real_escape (Debian patch)
* Mysql.set_charset
* Preliminary support for prepared statements (Mysql.Prepared)
Changes to the package: changed maintainer from pkgsrc-users to myself;
incorporated upstream move to other address; added license; added native code
build.
Diffstat (limited to 'databases/ocaml-mysql/Makefile')
-rw-r--r-- | databases/ocaml-mysql/Makefile | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/databases/ocaml-mysql/Makefile b/databases/ocaml-mysql/Makefile index 6c23e7b7a3d..3b2718d6d08 100644 --- a/databases/ocaml-mysql/Makefile +++ b/databases/ocaml-mysql/Makefile @@ -1,19 +1,17 @@ -# $NetBSD: Makefile,v 1.8 2011/12/06 00:19:22 sbd Exp $ +# $NetBSD: Makefile,v 1.9 2012/09/16 20:12:08 jaapb Exp $ # -DISTNAME= ocaml-mysql-1.0.4 -PKGREVISION= 3 +DISTNAME= ocaml-mysql-1.1.1 CATEGORIES= databases -MASTER_SITES= http://raevnos.pennmush.org/code/ocaml-mysql/ +MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/870/ -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://raevnos.pennmush.org/code/ocaml-mysql/ +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= http://ocaml-mysql.forge.ocamlcore.org/ COMMENT= Ocaml library for MySQL database access +LICENSE= gnu-lgpl-v2.1 PKG_DESTDIR_SUPPORT= user-destdir -BUILD_DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib - USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes USE_TOOLS+= gmake @@ -21,9 +19,19 @@ USE_TOOLS+= gmake DOCDIR= ${PREFIX}/share/doc/ocaml-mysql INSTALLATION_DIRS= ${DOCDIR} +BUILD_TARGET= all doc +PLIST_VARS= opt +.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ + (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") || \ + (${MACHINE_ARCH} == "arm") +BUILD_TARGET+= opt +PLIST.opt= yes +.endif + post-install: - cd ${WRKSRC}/doc/html && ${INSTALL_DATA} *.html ${DESTDIR}${DOCDIR} + cd ${WRKSRC}/doc/mysql/html && ${INSTALL_DATA} *.html ${DESTDIR}${DOCDIR} .include "../../lang/ocaml/buildlink3.mk" +.include "../../devel/ocaml-findlib/buildlink3.mk" .include "../../databases/mysql5-client/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |