freebsd-ports/www/mod_traf_thief/Makefile
Christian Weisgerber efa32c1c73 Unbreak.
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
Reported by:	kris  (bento)
2003-10-18 00:02:13 +00:00

35 lines
887 B
Makefile

# New ports collection makefile for: mod_traf_thief
# Date created: Sun Oct 5
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
#
PORTNAME= mod_traf_thief
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= apache
MAINTAINER= sheepkiller@cultdeadsheep.org
COMMENT= Allows you to redirect part of the traffic to your url
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
RUN_DEPENDS= ${BUILD_DEPENDS}
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>