blob: 54bb6b864e6eb86431196d340e0ffe13e471b082 (
plain)
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
27
|
# Created by: Stanislav Sedov <ssedov@mbsd.msk.ru>
# $FreeBSD$
PORTNAME= camomile
PORTVERSION= 0.4.1
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/OldFiles
PKGNAMEPREFIX= ocaml-
PKGNAMESUFFIX= -examples
DISTNAME= examples-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Example programs for Camomile library
WRKSRC= ${WRKDIR}/examples
NO_BUILD= yes
USE_BZIP2= yes
EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
do-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${TAR} -cf- -C ${WRKSRC} . | \
${TAR} -xf- -C ${STAGEDIR}${EXAMPLESDIR}
@${FIND} ${STAGEDIR}${EXAMPLESDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
@${FIND} ${STAGEDIR}${EXAMPLESDIR} -exec ${CHOWN} ${SHAREOWN} {} \;
.include <bsd.port.mk>
|