7b4708af97
"I don't use FreeBSD very much anymore, so I'm not really the best person to fix this. (As a corollary, if anyone wants to take over maintainership of any or all of the ports, I'm still listed as maintainer of, they are most welcome to.)" Given that Jaap hasn't submitted or handled any PRs since before staging, I think it will be more effective to just reset all the ports and let people pick up the ones they like. Thanks for your past support, Jaap! PR: 199845
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# Created by: "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sqlite3
|
|
PORTVERSION= 2.0.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://cdn.bitbucket.org/mmottl/sqlite3-ocaml/downloads/
|
|
PKGNAMEPREFIX= ocaml-
|
|
DISTNAME= ${PORTNAME}-ocaml-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= OCaml bindings to sqlite3 library
|
|
|
|
LICENSE= OCSQLT3
|
|
LICENSE_NAME= OCaml-SQLite3 unique permissive license
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
USES= gmake pkgconfig
|
|
USE_SQLITE= yes
|
|
USE_OCAML= yes
|
|
USE_OCAML_FINDLIB= yes
|
|
USE_OCAML_LDCONFIG= yes
|
|
USE_OCAMLFIND_PLIST= yes
|
|
HAS_CONFIGURE= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
CONFIGURE_ARGS= --destdir "${STAGEDIR}" \
|
|
--prefix "${PREFIX}"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,"install" :: findlib_name,"install" :: "-destdir ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /var/null" :: findlib_name,' \
|
|
${WRKSRC}/setup.ml
|
|
|
|
do-configure:
|
|
(cd ${WRKSRC} && ocaml setup.ml -configure ${CONFIGURE_ARGS})
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && ocaml setup.ml -build)
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ocaml setup.ml -install)
|
|
|
|
.include <bsd.port.mk>
|