diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-03-26 20:18:38 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-03-26 20:18:38 +0000 |
commit | 4cef51f686462a112ecb614312f7b4dee0d132d0 (patch) | |
tree | bfeb04e8deab81d17da60a92888ade748e00d70f /archivers/ocaml-bz2 | |
parent | ab1128217e154adcb57e117fc940eb56ec58b921 (diff) | |
download | ports-4cef51f686462a112ecb614312f7b4dee0d132d0.tar.gz ports-4cef51f686462a112ecb614312f7b4dee0d132d0.zip |
Notes
Diffstat (limited to 'archivers/ocaml-bz2')
-rw-r--r-- | archivers/ocaml-bz2/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/archivers/ocaml-bz2/Makefile b/archivers/ocaml-bz2/Makefile index 365a48bc2d0f..2c46bbcd9315 100644 --- a/archivers/ocaml-bz2/Makefile +++ b/archivers/ocaml-bz2/Makefile @@ -12,10 +12,9 @@ DISTNAME= caml${PORTNAME}-${PORTVERSION} MAINTAINER= jaapb@kerguelen.org COMMENT= OCaml library to manipulate bz2 files +DESTDIRNAME= DONTUSEIT GNU_CONFIGURE= yes USES= gmake -NO_STAGE= yes - USE_OCAML= yes USE_OCAML_LDCONFIG= yes USE_OCAML_WASH= yes @@ -23,14 +22,13 @@ USE_OCAML_FINDLIB= yes USE_OCAMLFIND_PLIST= yes PORTDOCS= * +DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= DOCS post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}) -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) -.include <bsd.port.post.mk> +.include <bsd.port.mk> |