summaryrefslogtreecommitdiff
path: root/databases/ocaml-sqlite3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/ocaml-sqlite3/Makefile')
-rw-r--r--databases/ocaml-sqlite3/Makefile33
1 files changed, 9 insertions, 24 deletions
diff --git a/databases/ocaml-sqlite3/Makefile b/databases/ocaml-sqlite3/Makefile
index db96a197a69..afdff7c0796 100644
--- a/databases/ocaml-sqlite3/Makefile
+++ b/databases/ocaml-sqlite3/Makefile
@@ -1,39 +1,24 @@
-# $NetBSD: Makefile,v 1.14 2014/10/07 16:47:20 adam Exp $
+# $NetBSD: Makefile,v 1.15 2014/10/09 19:48:40 jaapb Exp $
PKGNAME= ocaml-sqlite3-${VERSION}
-DISTNAME= sqlite3-ocaml-${VERSION}
-VERSION= 2.0.4
-PKGREVISION= 4
+DISTNAME= v${VERSION}
+VERSION= 2.0.6
CATEGORIES= databases
-MASTER_SITES= https://bitbucket.org/mmottl/sqlite3-ocaml/downloads/
+MASTER_SITES= http://github.com/mmottl/sqlite3-ocaml/archive/
MAINTAINER= jaapb@NetBSD.org
-HOMEPAGE= https://bitbucket.org/mmottl/sqlite3-ocaml/
+HOMEPAGE= http://github.com/mmottl/sqlite3-ocaml/
COMMENT= Sqlite bindings for OCaml
LICENSE= mit
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --destdir "${DESTDIR}" --prefix "${PREFIX}"
-USE_TOOLS+= gmake pkg-config
-USE_LANGUAGES= c
-
-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}
+WRKSRC= ${WRKDIR}/sqlite3-ocaml-${VERSION}
-do-build:
- cd ${WRKSRC} && ${MAKE_ENV} ocaml setup.ml -build
-
-do-install:
- cd ${WRKSRC} && ${MAKE_ENV} ocaml setup.ml -install
+USE_TOOLS+= gmake pkg-config
+OCAML_USE_OASIS= yes
-.include "../../lang/ocaml/buildlink3.mk"
+.include "../../mk/ocaml.mk"
.include "../../devel/ocaml-findlib/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"