aboutsummaryrefslogtreecommitdiff
path: root/www/mod_hosts_access
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-12 03:40:45 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-12 03:40:45 +0000
commitea133201359edda713193d1cef4b7c46dd522c81 (patch)
tree763d73ee04ddae23c94f0456a007407369ebeae8 /www/mod_hosts_access
parent69fe7c5867226a5f8b5c056ec0c5336363cbb7e4 (diff)
downloadports-ea133201359edda713193d1cef4b7c46dd522c81.tar.gz
ports-ea133201359edda713193d1cef4b7c46dd522c81.zip
Notes
Diffstat (limited to 'www/mod_hosts_access')
-rw-r--r--www/mod_hosts_access/Makefile11
-rw-r--r--www/mod_hosts_access/pkg-plist3
2 files changed, 4 insertions, 10 deletions
diff --git a/www/mod_hosts_access/Makefile b/www/mod_hosts_access/Makefile
index 2a2846c220d6..bee9a54963fc 100644
--- a/www/mod_hosts_access/Makefile
+++ b/www/mod_hosts_access/Makefile
@@ -14,13 +14,10 @@ MASTER_SITES= http://www.klomp.org/mod_hosts_access/
MAINTAINER= apache@FreeBSD.org
COMMENT= Apache module that makes Apache respect hosts.allow and hosts.deny
-USE_APACHE= yes
-APXS_FLAGS?= -S LDFLAGS_SHLIB="-shared -lwrap"
+USE_APACHE= 1.3
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
-do-build:
- @cd ${WRKSRC} && ${APXS} ${APXS_FLAGS} -c ${PORTNAME}.c
-
-do-install:
- ${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so
+AP_LIB= -shared -lwrap
.include <bsd.port.mk>
diff --git a/www/mod_hosts_access/pkg-plist b/www/mod_hosts_access/pkg-plist
deleted file mode 100644
index babeec38f942..000000000000
--- a/www/mod_hosts_access/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-libexec/apache/mod_hosts_access.so
-@exec %D/sbin/apxs -e -A -n hosts_access %D/%F
-@unexec %D/sbin/apxs -e -A -n hosts_access %D/%F