mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
b51d447684
are unsafe by default, which is the main motivation why it was picked, but not the very latest one) and synchronize the rest of the stack and dependent ports with it, particularly: - Update `devel/ocaml-ocamlbuild' to version 0.14.0 and unbreak, register build dependency on all ports that require it (should be part of USE_OCAML, but we do not want to make any Mk-related changes the for time being) - Update `devel/ocaml-camlp4' to version 4.05+2 - Update `devel/ocaml-camlp5' to version 7.07 (the project had moved to GitHub) - Mark `devel/ocaml-deriving-ocsigen' as BROKEN for now, it is very outdated and requires quite a lot of work - Update `x11-toolkits/ocaml-labltk' to version 8.06.3 PR: 218333 Exp-run by: antoine
54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
# Created by: "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sqlite3
|
|
PORTVERSION= 4.0.5
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= databases
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
MAINTAINER= dem.procopiou@gmail.com
|
|
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
|
|
|
|
BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild
|
|
|
|
USES= compiler:features gmake pkgconfig sqlite
|
|
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}"
|
|
|
|
GH_ACCOUNT= mmottl
|
|
GH_PROJECT= ${PORTNAME}-ocaml
|
|
USE_GITHUB= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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
|
|
.if ${COMPILER_TYPE} == gcc & ${COMPILER_VERSION} <= 42
|
|
@${REINPLACE_CMD} -e 's|-Wno-keyword-macro||' ${WRKSRC}/_oasis \
|
|
${WRKSRC}/myocamlbuild.ml ${WRKSRC}/setup.ml
|
|
.endif
|
|
|
|
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.post.mk>
|