aboutsummaryrefslogtreecommitdiff
path: root/www/mod_access_referer
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
parent6b63c7cd1c56c380d2483af80dd5383feb7eea6e (diff)
downloadports-267bec7c6d5df742b747c0134d3e71ee5a7aec18.tar.gz
ports-267bec7c6d5df742b747c0134d3e71ee5a7aec18.zip
- Utilize Makefile.modules.3rd
- Shorten COMMENT
Notes
Notes: svn path=/head/; revision=107224
Diffstat (limited to 'www/mod_access_referer')
-rw-r--r--www/mod_access_referer/Makefile15
-rw-r--r--www/mod_access_referer/pkg-plist3
2 files changed, 8 insertions, 10 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>
diff --git a/www/mod_access_referer/pkg-plist b/www/mod_access_referer/pkg-plist
deleted file mode 100644
index fdb9bb3ae0a3..000000000000
--- a/www/mod_access_referer/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-libexec/apache/mod_access_referer.so
-@exec %D/sbin/apxs -e -A -n access_referer %D/%F
-@unexec %D/sbin/apxs -e -A -n access_referer %D/%F