aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-07 21:46:08 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-07 21:46:08 +0000
commit24d7eafc51c37871aa164765fa7b25ec6a8d3d15 (patch)
tree567f595aea08b87ff4e739c7fc70ddb15e301ce6
parenteb9953797235f0ff24d590f5b8411e34f64b5201 (diff)
downloadports-24d7eafc51c37871aa164765fa7b25ec6a8d3d15.tar.gz
ports-24d7eafc51c37871aa164765fa7b25ec6a8d3d15.zip
Notes
-rw-r--r--devel/ocaml-sem/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/ocaml-sem/Makefile b/devel/ocaml-sem/Makefile
index 46f5055f5622..ada02044e4f2 100644
--- a/devel/ocaml-sem/Makefile
+++ b/devel/ocaml-sem/Makefile
@@ -11,8 +11,8 @@ PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://ocaml-sem.sourceforge.net/files/ \
${MASTER_SITE_SOURCEFORGE}
-PKGNAMEPREFIX= ocaml-
MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
+PKGNAMEPREFIX= ocaml-
MAINTAINER= argentoff@gmail.com
COMMENT= POSIX semaphores for OCaml
@@ -41,8 +41,10 @@ post-install:
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm lib/ocaml/site-lib/sem" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec ocamlfind remove sem 2>/dev/null || true" >> ${TMPPLIST}
+.ifndef NOPORTDOCS
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
${CP} ${WRKSRC}/README ${DOCSDIR}
+.endif
.include <bsd.port.mk>