blob: 8e5a2c3b221d2602030de6a0b21ff8cc0f6bcd55 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Created by: Stanislav Sedov <ssedov@mbsd.msk.ru>
# $FreeBSD$
PORTNAME= ocaml
PORTVERSION= 3.12
CATEGORIES= lang
MASTER_SITES= http://cristal.inria.fr/caml_examples/
PKGNAMESUFFIX= -examples
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
MAINTAINER= johans@FreeBSD.org
COMMENT= Example programs for the Objective Caml
NO_BUILD= yes
NO_STAGE= 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>
|