aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-08-03 17:00:59 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-08-03 17:00:59 +0800
commit40168dc114eaa831c615587c462be79ffe21f5c8 (patch)
treecddce72ccbe2cad272665653f1a3685064bd5081
parentc44ff9cf2dce55dbcd08b78c81f3730425ac76a9 (diff)
downloadfreebsd-ports-gnome-40168dc114eaa831c615587c462be79ffe21f5c8.tar.gz
freebsd-ports-gnome-40168dc114eaa831c615587c462be79ffe21f5c8.tar.zst
freebsd-ports-gnome-40168dc114eaa831c615587c462be79ffe21f5c8.zip
- Add NO_ARCH
- Switch to options helpers - Silence mkdirs
-rw-r--r--www/flat-frog/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/www/flat-frog/Makefile b/www/flat-frog/Makefile
index d658dc812fa2..1ffee5d4827c 100644
--- a/www/flat-frog/Makefile
+++ b/www/flat-frog/Makefile
@@ -12,19 +12,24 @@ COMMENT= Templating engine working in php
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
-NO_BUILD= yes
USES= php zip
+NO_BUILD= yes
+NO_ARCH= yes
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
- ${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DATADIR}/plugins
+ @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DATADIR}/plugins
${INSTALL_DATA} ${WRKSRC}/src/class.* ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/src/plugins/* ${STAGEDIR}${DATADIR}/plugins
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${EXAMPLESDIR}/templates
+
+do-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${EXAMPLESDIR}/templates
${INSTALL_DATA} ${WRKSRC}/demo/test.* ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/demo/templates/* ${STAGEDIR}${EXAMPLESDIR}/templates
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>