aboutsummaryrefslogtreecommitdiff
path: root/lang/ocaml-examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ocaml-examples/Makefile')
-rw-r--r--lang/ocaml-examples/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/ocaml-examples/Makefile b/lang/ocaml-examples/Makefile
index 33150236acad..35720802b38a 100644
--- a/lang/ocaml-examples/Makefile
+++ b/lang/ocaml-examples/Makefile
@@ -6,23 +6,24 @@
#
PORTNAME= ocaml
-PORTVERSION= 3.11
-PORTREVISION= 1
+PORTVERSION= 3.12
CATEGORIES= lang
-MASTER_SITES= http://cristal.inria.fr/caml_examples/
+MASTER_SITES= http://cristal.inria.fr/caml_examples/
PKGNAMESUFFIX= -examples
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= johans@FreeBSD.org
COMMENT= Example programs for the Objective Caml
NO_BUILD= yes
do-install:
+.ifndef NOPORTEXAMPLES
@${MKDIR} ${EXAMPLESDIR}
@${TAR} -cf- -C ${WRKSRC} --exclude Imakefile . | \
${TAR} -xf- -C ${EXAMPLESDIR}
@${FIND} ${EXAMPLESDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
@${FIND} ${EXAMPLESDIR} -exec ${CHOWN} ${SHAREOWN} {} \;
+.endif
.include <bsd.port.mk>