aboutsummaryrefslogtreecommitdiff
path: root/www/mod_macro22
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2013-12-15 22:11:20 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2013-12-15 22:11:20 +0000
commit8136ee5a9f5c3f3e66da24d4274044b6e9925608 (patch)
tree04a297afc1f15cc989bfa9a4b4fac1df43caa203 /www/mod_macro22
parentab634dd8ea38be988cfaa5b7560132a6acc30d26 (diff)
downloadports-8136ee5a9f5c3f3e66da24d4274044b6e9925608.tar.gz
ports-8136ee5a9f5c3f3e66da24d4274044b6e9925608.zip
- add stage support
- add license - minor cleanups with hat apache@
Notes
Notes: svn path=/head/; revision=336589
Diffstat (limited to 'www/mod_macro22')
-rw-r--r--www/mod_macro22/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/www/mod_macro22/Makefile b/www/mod_macro22/Makefile
index 1a8d2b4cc02c..cd0f197df34c 100644
--- a/www/mod_macro22/Makefile
+++ b/www/mod_macro22/Makefile
@@ -14,6 +14,9 @@ LICENSE_NAME= mod_macro license (apache with postcard request)
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
USE_APACHE= 22
LATEST_LINK= mod_macro22
@@ -23,15 +26,8 @@ PORTDOCS= ${PORTNAME}.html
PORTSCOUT= limit:^1\.1\.
-OPTIONS_DEFINE= DOCS
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>