summaryrefslogtreecommitdiff
path: root/www/adzapper/Makefile
blob: cabdce771915d21cd627450cdb95ce8e4b6aa501 (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
38
39
40
# New ports collection makefile for:		adzapper
# Date created:			01 Oct 1999
# Whom:                 Dominik Rothert <dr@domix.de>
#
# $FreeBSD$
#

PORTNAME=	adzapper
PORTVERSION= 	0.1.30
CATEGORIES=	www
MASTER_SITES=	http://www.halcyon.com/adamf/adzapper/
EXTRACT_SUFX=	.tgz

MAINTAINER=	dr@domix.de

BUILD_DEPENDS=	python:${PORTSDIR}/lang/python
RUN_DEPENDS=	python:${PORTSDIR}/lang/python

NO_BUILD=	yes

post-extract:
	@${RM} -rf ${WRKSRC}/src/medusa/CVS
	@${SED} -e 's,__PREFIX__,${PREFIX},g' ${FILESDIR}/adzapper.sh > \
		${WRKSRC}/adzapper.sh
	@${SED} -e 's,__PREFIX__,${PREFIX},g' ${FILESDIR}/adzapper.sh > \
		${WRKSRC}/rc.adzapper.sh

do-install:
	${MKDIR} ${PREFIX}/share/adzapper
	${INSTALL_SCRIPT} ${WRKSRC}/adzapper.sh ${PREFIX}/sbin/adzapper
	${INSTALL_SCRIPT} ${WRKSRC}/adzapper.py ${PREFIX}/share/adzapper/
	${INSTALL_SCRIPT} ${WRKSRC}/rc.adzapper.sh ${PREFIX}/etc/rc.d/adzapper.sh
	${CP} -Rp ${WRKSRC}/zaplets ${PREFIX}/share/adzapper
	${CP} -Rp ${WRKSRC}/doc ${PREFIX}/share/adzapper
	${CP} -Rp ${WRKSRC}/src ${PREFIX}/share/adzapper
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/adzapper
	${INSTALL_DATA} ${WRKSRC}/adzapper.conf ${PREFIX}/etc
	${INSTALL_DATA} ${WRKSRC}/adzapper.conf ${PREFIX}/etc/adzapper.conf.sample

.include <bsd.port.mk>