freebsd-ports/dns/adsuck/Makefile
Baptiste Daroussin 5c9c7a01ff adsuck is a DNS relay that returns NXdomain for hosts that match names in a
blacklist for quick and non browser plugin based ad blocking.

WWW: http://opensource.conformal.com/wiki/Adsuck

PR:		ports/156644
Submitted by:	Philippe Pepiot <phil@philpep.org>
2011-05-07 15:13:53 +00:00

42 lines
834 B
Makefile

# 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>