1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Update to 1.3 and assign maintainership. Also, move the install files

to lib/ocaml/cryptokit/ to correspond with other ocaml ports.

Based on:	PR/122848
Submitted by:	Jaap Boender (new maintainer)
This commit is contained in:
Mark Linimon 2008-12-18 06:53:22 +00:00
parent 1a94b500c8
commit 28418b9dbe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224362
2 changed files with 19 additions and 15 deletions

View File

@ -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>

View File

@ -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%%