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 | |
parent | 1a94b500c8974f8dd7d47c636a4186220000c156 (diff) | |
download | ports-28418b9dbe2bef12cbc63090a6cb541b33777597.tar.gz ports-28418b9dbe2bef12cbc63090a6cb541b33777597.zip |
Notes
Diffstat (limited to 'security/ocaml-cryptokit')
-rw-r--r-- | security/ocaml-cryptokit/Makefile | 12 | ||||
-rw-r--r-- | security/ocaml-cryptokit/pkg-plist | 22 |
2 files changed, 19 insertions, 15 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> diff --git a/security/ocaml-cryptokit/pkg-plist b/security/ocaml-cryptokit/pkg-plist index 340e5b406d84..6771c91a3851 100644 --- a/security/ocaml-cryptokit/pkg-plist +++ b/security/ocaml-cryptokit/pkg-plist @@ -1,10 +1,12 @@ -lib/ocaml/cryptokit.a -lib/ocaml/cryptokit.cma -lib/ocaml/cryptokit.cmi -lib/ocaml/cryptokit.cmx -lib/ocaml/cryptokit.cmxa -lib/ocaml/cryptokit.mli -lib/ocaml/libcryptokit.a -lib/ocaml/stublibs/dllcryptokit.so -@dirrmtry lib/ocaml/stublibs -@dirrmtry lib/ocaml +%%OCAML_SITELIBDIR%%/cryptokit/META +%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.a +%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cma +%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmi +%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmx +%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmxa +%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.mli +%%OCAML_SITELIBDIR%%/cryptokit/libcryptokit.a +%%OCAML_SITELIBDIR%%/cryptokit/stublibs/dllcryptokit.so +@dirrmtry %%OCAML_SITELIBDIR%%/cryptokit/stublibs +@dirrmtry %%OCAML_SITELIBDIR%%/cryptokit +@dirrmtry %%OCAML_SITELIBDIR%% |