aboutsummaryrefslogtreecommitdiff
path: root/security/ocaml-cryptokit
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-03-26 21:53:01 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-03-26 21:53:01 +0000
commit1809968b52c84f7467be354ee9c8ad8e64f9e0ad (patch)
tree6f7ed4b61e8a266077ac92d6e74cb98697815893 /security/ocaml-cryptokit
parentb0f417a9b53bc700b6cd01158a16510da4951956 (diff)
downloadports-1809968b52c84f7467be354ee9c8ad8e64f9e0ad.tar.gz
ports-1809968b52c84f7467be354ee9c8ad8e64f9e0ad.zip
Notes
Diffstat (limited to 'security/ocaml-cryptokit')
-rw-r--r--security/ocaml-cryptokit/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/security/ocaml-cryptokit/Makefile b/security/ocaml-cryptokit/Makefile
index 4fc5d4d5e8eb..4619a8113fe5 100644
--- a/security/ocaml-cryptokit/Makefile
+++ b/security/ocaml-cryptokit/Makefile
@@ -10,6 +10,7 @@ PKGNAMEPREFIX= ocaml-
MAINTAINER= jaapb@kerguelen.org
COMMENT= Variety of cryptographic primitives for Objective Caml
+DESTDIRNAME= destdir
HAS_CONFIGURE= yes
USE_OCAML= yes
@@ -17,19 +18,20 @@ USE_OCAML_LDCONFIG= yes
USE_OCAML_FINDLIB= yes
USE_OCAMLFIND_PLIST= yes
+DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
+PORTDOCS= *
+
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
ALL_TARGET+= doc
-CONFIGURE_ARGS+= --docdir ${PREFIX}/share/doc/ocaml
-
-PORTDOCS= *
+CONFIGURE_ARGS+= --docdir ${OCAML_DOCSDIR}
.endif
-DOC_FILES= Changes LICENSE README
-DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
+post-patch:
+ ${REINPLACE_CMD} 's,"install","install" :: "-ldconf ignore",' \
+ ${WRKSRC}/setup.ml
.include <bsd.port.mk>