freebsd-ports/devel/ocaml-camomile-examples/Makefile
Adam Weinberger aeac01a4bb Convert some more USE_BZIP2 to USES=tar:bzip2
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 21:43:17 +00:00

27 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>