blob: 58923d4b2b334578a31f802f94cfd27c20912554 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# 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= 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}
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>
|