aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-05-11 07:46:40 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-05-11 07:46:40 +0000
commit8ea43f06de3c7fa751116de5abb70efd1fab10c5 (patch)
treed2c39ac943ffaca75c5e09c8e4162d8e4511480d /www
parent9905458b8114d502c0f96eaeb5367bb1665a57c1 (diff)
downloadports-8ea43f06de3c7fa751116de5abb70efd1fab10c5.tar.gz
ports-8ea43f06de3c7fa751116de5abb70efd1fab10c5.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/mod_traf_thief/Makefile14
-rw-r--r--www/mod_traf_thief/pkg-plist5
2 files changed, 5 insertions, 14 deletions
diff --git a/www/mod_traf_thief/Makefile b/www/mod_traf_thief/Makefile
index 58923d4b2b33..e31ea6869f77 100644
--- a/www/mod_traf_thief/Makefile
+++ b/www/mod_traf_thief/Makefile
@@ -10,28 +10,20 @@ PORTVERSION= 0.01
CATEGORIES= www
MASTER_SITES= http://sheepkiller.nerim.net/ports/${PORTNAME}/
EXTRACT_SUFX= .c
-# Original location: http://web.god.net.ru/projects/mod_traf_thief/dist/
DIST_SUBDIR= apache2
MAINTAINER= apache@FreeBSD.org
COMMENT= Allows you to redirect part of the traffic to your url
-BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache20
-RUN_DEPENDS= ${BUILD_DEPENDS}
+USE_APACHE= 2.0
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
RESTRICTED= No licence
-
NO_WRKSUBDIR= YES
-APXS?= ${LOCALBASE}/sbin/apxs
do-extract:
@${MKDIR} ${WRKDIR}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}.c
-do-build:
- @(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c)
-
-do-install:
- @(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.la)
-
.include <bsd.port.mk>
diff --git a/www/mod_traf_thief/pkg-plist b/www/mod_traf_thief/pkg-plist
index ceba9f2a665e..cde39800e9a6 100644
--- a/www/mod_traf_thief/pkg-plist
+++ b/www/mod_traf_thief/pkg-plist
@@ -1,4 +1,3 @@
-@comment $FreeBSD$
-libexec/apache2/mod_traf_thief.so
+%%APACHEMODIR%%/%%APMODULE%%
@exec %D/sbin/apxs -e -A -n traf_thief %D/%F
-@unexec echo "===> If you do not plan on reinstalling mod_traf_thief, you must manually remove"; echo "===> references to it in httpd.conf."
+@unexec %D/sbin/apxs -e -A -n traf_thief %D/%F