svn commit: r349298 - head/security/ocaml-cryptokit

Antoine Brodin antoine at FreeBSD.org
Wed Mar 26 21:53:02 UTC 2014


Author: antoine
Date: Wed Mar 26 21:53:01 2014
New Revision: 349298
URL: http://svnweb.freebsd.org/changeset/ports/349298
QAT: https://qat.redports.org/buildarchive/r349298/

Log:
  Stage support

Modified:
  head/security/ocaml-cryptokit/Makefile

Modified: head/security/ocaml-cryptokit/Makefile
==============================================================================
--- head/security/ocaml-cryptokit/Makefile	Wed Mar 26 21:32:39 2014	(r349297)
+++ head/security/ocaml-cryptokit/Makefile	Wed Mar 26 21:53:01 2014	(r349298)
@@ -10,6 +10,7 @@ PKGNAMEPREFIX=	ocaml-
 MAINTAINER=	jaapb at 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>


More information about the svn-ports-head mailing list