1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/databases/ocaml-dbm/Makefile
John Marino 92a3e465c3 Add new Ocaml port: databases/dbm
The initial version submitted in the PR was augmented by later changes
seen in pkgsrc where the counterpart is maintained by the submitter.

==
This OCaml library is a binding to the NDBM/GDBM Unix "databases". It
provides persistent storage of key-value pairs of strings.

WWW: http://forge.ocamlcore.org/projects/camldbm/
==

PR:		ports/176115
Submitted by:	Jaap Boender
Maintainer:	Jaap Boender
Stage support:	Taken from pkgsrc
2014-03-27 09:41:44 +00:00

33 lines
764 B
Makefile

# Created by: Jaap Boender <jaapb@kerguelen.org>
# $FreeBSD$
PORTNAME= dbm
PORTVERSION= 1.0
CATEGORIES= databases
MASTER_SITES= https://forge.ocamlcore.org/frs/download.php/728/
PKGNAMEPREFIX= ocaml-
DISTNAME= caml${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= jaapb@kerguelen.org
COMMENT= OCaml binding to the NDBM and GDBM database library
LICENSE= LGPL20
CONFLICTS= ocaml-[0-3]* ocaml-nox11-[0-3]*
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>