diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2008-12-18 06:53:22 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2008-12-18 06:53:22 +0000 |
commit | 28418b9dbe2bef12cbc63090a6cb541b33777597 (patch) | |
tree | ac04294e69e03bd2ebbc6a095d59c0b143c9e4f6 /security/ocaml-cryptokit/Makefile | |
parent | 1a94b500c8974f8dd7d47c636a4186220000c156 (diff) | |
download | ports-28418b9dbe2bef12cbc63090a6cb541b33777597.tar.gz ports-28418b9dbe2bef12cbc63090a6cb541b33777597.zip |
Notes
Diffstat (limited to 'security/ocaml-cryptokit/Makefile')
-rw-r--r-- | security/ocaml-cryptokit/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/security/ocaml-cryptokit/Makefile b/security/ocaml-cryptokit/Makefile index 74583c902b83..9a61c47179a0 100644 --- a/security/ocaml-cryptokit/Makefile +++ b/security/ocaml-cryptokit/Makefile @@ -7,15 +7,16 @@ PORTNAME= cryptokit PORTVERSION= 1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://caml.inria.fr/distrib/bazar-ocaml/ PKGNAMEPREFIX= ocaml- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= Jaap.Boender@pps.jussieu.fr COMMENT= A variety of cryptographic primitives for Objective Caml -BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml +USE_OCAML= yes +USE_OCAML_LDCONFIG= yes ALL_TARGET= all allopt @@ -30,7 +31,7 @@ DOC_FILES= Changes LICENSE README post-configure: # CFLAGS,PREFIX safeness @${REINPLACE_CMD} -E -e \ - 's|^(INSTALLDIR).*$$|\1=${PREFIX}/lib/ocaml|; \ + 's|^(INSTALLDIR).*$$|\1=${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}|; \ s|^CFLAGS=|CFLAGS\+=|; \ s|(^CFLAGS.*)-O|\1|' \ ${WRKSRC}/Makefile @@ -42,7 +43,7 @@ pre-install: 's|cp |${INSTALL_DATA} |' \ ${WRKSRC}/Makefile # create installation dir - @${MKDIR} ${PREFIX}/lib/ocaml/stublibs + @${MKDIR} ${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/stublibs post-install: .ifndef(NOPORTDOCS) @@ -52,6 +53,7 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif + @${INSTALL_DATA} ${FILESDIR}/META ${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME} .include <bsd.port.pre.mk> |