diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_traf_thief/Makefile | 14 | ||||
-rw-r--r-- | www/mod_traf_thief/pkg-plist | 5 |
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 |