1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/databases/ocaml-dbm/Makefile
2021-04-06 16:31:07 +02:00

32 lines
745 B
Makefile

# Created by: Jaap Boender <jaapb@kerguelen.org>
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
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>