aboutsummaryrefslogtreecommitdiff
path: root/lang/ocaml-examples/Makefile
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2011-12-11 17:02:24 +0000
committerJohan van Selst <johans@FreeBSD.org>2011-12-11 17:02:24 +0000
commitd8e1b9974dbb3ddab2c7585bdf31b33f0a3db667 (patch)
tree1afb290f9a3dbf2b0131e1ece80d3481339f249a /lang/ocaml-examples/Makefile
parentebf63e9f7f68878ce9e1fcd21879ec4297d48ee4 (diff)
downloadports-d8e1b9974dbb3ddab2c7585bdf31b33f0a3db667.tar.gz
ports-d8e1b9974dbb3ddab2c7585bdf31b33f0a3db667.zip
- Update ocaml-examples to match lang/ocaml version
- Respect NOPORTEXAMPLES: Don't install anything if it is set - Adopt port Feature safe: yes
Notes
Notes: svn path=/head/; revision=287186
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>