Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 21:53:02 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349298 - head/security/ocaml-cryptokit
Message-ID:  <201403262153.s2QLr2va008298@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403262153.s2QLr2va008298>