Lines 1-7
Link Here
|
1 |
PORTNAME= sqlite3 |
1 |
PORTNAME= sqlite3 |
2 |
PORTVERSION= 4.0.5 |
2 |
PORTVERSION= 5.1.0 |
3 |
DISTVERSIONPREFIX= v |
|
|
4 |
PORTREVISION= 2 |
5 |
CATEGORIES= databases |
3 |
CATEGORIES= databases |
6 |
PKGNAMEPREFIX= ocaml- |
4 |
PKGNAMEPREFIX= ocaml- |
7 |
|
5 |
|
Lines 11-46
WWW= https://mmottl.github.io/sqlite3-ocaml/
Link Here
|
11 |
|
9 |
|
12 |
LICENSE= OCSQLT3 |
10 |
LICENSE= OCSQLT3 |
13 |
LICENSE_NAME= OCaml-SQLite3 unique permissive license |
11 |
LICENSE_NAME= OCaml-SQLite3 unique permissive license |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING.txt |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE.md |
15 |
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
13 |
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
16 |
|
14 |
|
17 |
BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild |
15 |
BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild |
18 |
|
16 |
|
19 |
USES= compiler:features gmake pkgconfig sqlite |
17 |
USES= ocaml:dune pkgconfig sqlite |
20 |
USE_OCAML= yes |
18 |
USE_GITHUB= yes |
21 |
USE_OCAML_FINDLIB= yes |
19 |
USE_OCAML= yes |
22 |
USE_OCAML_LDCONFIG= yes |
20 |
USE_OCAML_LDCONFIG= yes |
23 |
USE_OCAMLFIND_PLIST= yes |
|
|
24 |
HAS_CONFIGURE= yes |
25 |
MAKE_JOBS_UNSAFE= yes |
26 |
CONFIGURE_ARGS= --destdir "${STAGEDIR}" \ |
27 |
--prefix "${PREFIX}" |
28 |
|
21 |
|
29 |
GH_ACCOUNT= mmottl |
22 |
GH_ACCOUNT= mmottl |
30 |
GH_PROJECT= ${PORTNAME}-ocaml |
23 |
GH_PROJECT= ${PORTNAME}-ocaml |
31 |
USE_GITHUB= yes |
|
|
32 |
|
33 |
post-patch: |
34 |
@${REINPLACE_CMD} -e 's,"install" :: findlib_name,"install" :: "-destdir ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /var/null" :: findlib_name,' \ |
35 |
${WRKSRC}/setup.ml |
36 |
|
24 |
|
37 |
do-configure: |
25 |
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} |
38 |
(cd ${WRKSRC} && ocaml setup.ml -configure ${CONFIGURE_ARGS}) |
26 |
PORTDOCS= CHANGES.md LICENSE.md README.md |
39 |
|
27 |
|
40 |
do-build: |
28 |
OPTIONS_DEFINE= DOCS |
41 |
(cd ${WRKSRC} && ocaml setup.ml -build) |
|
|
42 |
|
29 |
|
43 |
do-install: |
30 |
post-install: |
44 |
(cd ${WRKSRC} && ocaml setup.ml -install) |
31 |
@${STRIP_CMD} \ |
|
|
32 |
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/dllsqlite3_stubs.so \ |
33 |
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/sqlite3.cmxs |
45 |
|
34 |
|
46 |
.include <bsd.port.mk> |
35 |
.include <bsd.port.mk> |