openbsd-ports/security/cryptokit/Makefile
2007-09-15 23:29:57 +00:00

38 lines
943 B
Makefile

# $OpenBSD: Makefile,v 1.6 2007/09/15 23:29:58 merdely Exp $
COMMENT= cryptographic framework for the Objective-ML language
CATEGORIES= security
DISTNAME= cryptokit-1.3
PKGNAME= ${DISTNAME}p0
MASTER_SITES= http://caml.inria.fr/distrib/bazar-ocaml/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
HOMEPAGE= http://pauillac.inria.fr/~xleroy/software.html
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MODULES= lang/ocaml
OCAML_LIBDIR= ${PREFIX}/lib/ocaml
DOC_DIR= ${PREFIX}/share/doc/cryptokit
MAKE_FLAGS= CFLAGS="${CFLAGS} -DHAVE_ZLIB"
FAKE_FLAGS= INSTALLDIR="${DESTDIR}${OCAML_LIBDIR}"
ALL_TARGET= all ${MODOCAML_NATIVE:S,Yes,allopt,:S,No,,}
REGRESS_TARGET= test
pre-install:
${INSTALL_DATA_DIR} ${OCAML_LIBDIR}
post-install:
${INSTALL_DATA_DIR} ${DOC_DIR}
${LOCALBASE}/bin/ocamldoc -html -I ${WRKSRC} -d ${DOC_DIR} ${WRKSRC}/cryptokit.mli
.include <bsd.port.mk>