mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
aeac01a4bb
Approved by: portmgr (not really, but touches unstaged ports)
28 lines
729 B
Makefile
28 lines
729 B
Makefile
# 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
|
|
USES= tar:bzip2
|
|
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>
|