aboutsummaryrefslogtreecommitdiff
path: root/www/mod_macro/Makefile
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-08-08 14:55:31 +0000
committerClement Laforet <clement@FreeBSD.org>2004-08-08 14:55:31 +0000
commitec47a546e888a47be8ff445c3ea33ebb06b6419e (patch)
tree7c0916ce0f226f6c0109df9cbac25c79259d2209 /www/mod_macro/Makefile
parentb9f6c52dd31ae5d8b6bc1f89b28d2b858049860f (diff)
downloadports-ec47a546e888a47be8ff445c3ea33ebb06b6419e.tar.gz
ports-ec47a546e888a47be8ff445c3ea33ebb06b6419e.zip
Notes
Diffstat (limited to 'www/mod_macro/Makefile')
-rw-r--r--www/mod_macro/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/www/mod_macro/Makefile b/www/mod_macro/Makefile
index 5b7271a64532..a57e7b0203ba 100644
--- a/www/mod_macro/Makefile
+++ b/www/mod_macro/Makefile
@@ -14,16 +14,18 @@ MASTER_SITES= http://www.cri.ensmp.fr/~coelho/mod_macro/
MAINTAINER= ports@FreeBSD.org
COMMENT= Apache module for use macros in config files
-USE_APACHE= yes
+WANT_APACHE= 13
+AP_FAST_BUILD= YES
+AP_GENPLIST= YES
+PORTDOCS= ${PORTNAME}.html
-do-build:
- @cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
-do-install:
- ${APXS} -i -A -n ${PORTNAME} ${WRKSRC}/${PORTNAME}.so
+post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>