blob: f97ad179a8c063eb0af4329e3ca193ed5591a9c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
PORTNAME= dbm
PORTVERSION= 1.0
CATEGORIES= databases
MASTER_SITES= https://forge.ocamlcore.org/frs/download.php/728/
PKGNAMEPREFIX= ocaml-
DISTNAME= caml${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= OCaml binding to the NDBM and GDBM database library
WWW= https://forge.ocamlcore.org/projects/camldbm/
LICENSE= LGPL20
CONFLICTS= ocaml-[0-3]* ocaml-nox11-[0-3]*
USES= tar:tgz
HAS_CONFIGURE= yes
USE_OCAML= yes
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
MAKE_ENV+= DESTDIR="${STAGEDIR}"
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/dbm \
${STAGEDIR}${PREFIX}/lib/ocaml/stublibs
post-install:
${INSTALL_DATA} ${WRKSRC}/META \
${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/dbm
.include <bsd.port.mk>
|