Return to Makefile CVS log | Up to [cvs.NetBSD.org] / pkgsrc / databases / ocaml-sqlite3 |
File: [cvs.NetBSD.org] / pkgsrc / databases / ocaml-sqlite3 / Makefile (download)
Revision 1.2, Sun Sep 16 11:34:45 2012 UTC (11 years, 7 months ago) by jaapb
Updated databases/ocaml-sqlite3 to version 2.0.2. Summary of changes: 2012-07-20: Downgraded findlib version requirement to support the Debian testing branch. 2012-07-16: Replaced String.trim function in myocamlbuild.ml to allow compiling with OCaml 3.12.1. 2012-07-15: New major release version 2.0.0: * Upgraded to OCaml 4.00 * Switched to Oasis for packaging * Switched to OCamlBuild for the build process * Rewrote README in Markdown * Added stricter compilation flags 2012-05-19: Fixed cpp warnings and removed superfluous check for dynamic linking library. The latter improves portability to FreeBSD. 2011-03-10: Added sqlite3_open_v2 functionality. There are also some changes to the package itself: the upstream distribution site changed; the maintainer e-mail address as well, and the package now uses PLIST_VARS. |
# $NetBSD: Makefile,v 1.2 2012/09/16 11:34:45 jaapb Exp $ # PKGNAME= ocaml-sqlite3-${VERSION} DISTNAME= sqlite3-ocaml-${VERSION} VERSION= 2.0.2 CATEGORIES= databases MASTER_SITES= https://bitbucket.org/mmottl/sqlite3-ocaml/downloads/ FETCH_USING= curl MAINTAINER= jaapb@NetBSD.org HOMEPAGE= https://bitbucket.org/mmottl/sqlite3-ocaml/ COMMENT= Sqlite bindings for OCaml LICENSE= mit PKG_DESTDIR_SUPPORT= user-destdir HAS_CONFIGURE= yes CONFIGURE_ARGS+= --destdir "${DESTDIR}" --prefix "${PREFIX}" USE_TOOLS+= gmake USE_LANGUAGES= c SUBST_CLASSES+= destdir SUBST_STAGE.destdir= post-configure SUBST_MESSAGE.destdir= Changing install location to DESTDIR SUBST_FILES.destdir= setup.ml SUBST_SED.destdir= -e 's,"install" :: findlib_name,"install" :: "-destdir ${DESTDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /var/null" :: findlib_name,' PLIST_VARS= opt .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") || \ (${MACHINE_ARCH} == "arm") PLIST.opt= yes .endif do-configure: cd ${WRKSRC} && ${CONFIGURE_ENV} ocaml setup.ml -configure ${CONFIGURE_ARGS} do-build: cd ${WRKSRC} && ${MAKE_ENV} ocaml setup.ml -build do-install: cd ${WRKSRC} && ${MAKE_ENV} ocaml setup.ml -install .include "../../lang/ocaml/buildlink3.mk" .include "../../devel/ocaml-findlib/buildlink3.mk" .include "../../databases/sqlite3/buildlink3.mk" .include "../../mk/bsd.pkg.mk"