# Created by: Stanislav Sedov # $FreeBSD: head/devel/ocaml-camomile-examples/Makefile 363399 2014-07-29 21:43:17Z adamw $ 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