summaryrefslogtreecommitdiff
path: root/dns/adsuck/Makefile
blob: 468798a30d55feda1ea122e0711c2da5c2284a82 (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
41
# New ports collection makefile for: adsuck
# Date created: 25 April 2011
# Whom: Philippe Pepiot <phil@philpep.org>
#
# $FreeBSD$

PORTNAME=	adsuck
PORTVERSION=	2.3
CATEGORIES=	dns
MASTER_SITES=	http://opensource.conformal.com/snapshots/adsuck/ \
		http://philpep.org/pub/
EXTRACT_SUFX=	.tgz

MAINTAINER=	phil@philpep.org
COMMENT=	DNS relay for ad blocking

LICENSE=	BSD

LIB_DEPENDS+=	event-1.4:${PORTSDIR}/devel/libevent \
		ldns:${PORTSDIR}/dns/ldns

USE_RC_SUBR=	adsuck

USERS=	_adsuck
GROUPS=	_adsuck

SUB_FILES+=	pkg-message

MAN8=	adsuck.8
MANCOMPRESSED=	yes

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/adsuck ${PREFIX}/sbin/
	@${INSTALL_MAN} ${WRKSRC}/${MAN8}.gz ${MANPREFIX}/man/man8/

post-install:
	@${MKDIR} ${EXAMPLESDIR}
	@${INSTALL_DATA} ${WRKSRC}/files/* ${EXAMPLESDIR}
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>