aboutsummaryrefslogtreecommitdiff
path: root/www/mod_access_referer/Makefile
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-04-16 13:37:51 +0000
committerClement Laforet <clement@FreeBSD.org>2004-04-16 13:37:51 +0000
commit267bec7c6d5df742b747c0134d3e71ee5a7aec18 (patch)
treedcbb482b602b1c5258fb467e773fc76d47dbd436 /www/mod_access_referer/Makefile
parent6b63c7cd1c56c380d2483af80dd5383feb7eea6e (diff)
- Utilize Makefile.modules.3rd
- Shorten COMMENT
Notes
Notes: svn path=/head/; revision=107224
Diffstat (limited to 'www/mod_access_referer/Makefile')
-rw-r--r--www/mod_access_referer/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/www/mod_access_referer/Makefile b/www/mod_access_referer/Makefile
index 401182bfcfa7..3291a2e595e2 100644
--- a/www/mod_access_referer/Makefile
+++ b/www/mod_access_referer/Makefile
@@ -12,16 +12,17 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= accessreferer
MAINTAINER= ports@FreeBSD.org
-COMMENT= An Apache module that provides access control based on Referer HTTP header
+COMMENT= Provides access control based on Referer HTTP header for Apache
-USE_APACHE= yes
+WANT_APACHE= 13
+AP_FAST_BUILD= YES
+AP_GENPLIST= YES
PORTDOCS= HACKING LICENSE.txt ChangeLog README TODO mod_access_referer.html
-do-build:
- @(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c)
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
-do-install:
- @(cd ${WRKSRC} && ${APXS} -i -A -n ${PORTNAME:S/mod_//} ${PORTNAME}.so)
+post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
@@ -30,4 +31,4 @@ do-install:
.endif
${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>