1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/dns/adsuck/Makefile
2021-04-06 16:31:07 +02:00

37 lines
784 B
Makefile

# Created by: Philippe Pepiot <phil@philpep.org>
PORTNAME= adsuck
PORTVERSION= 2.3
PORTREVISION= 9
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= ISCL
LIB_DEPENDS+= libevent.so:devel/libevent \
libldns.so:dns/ldns
CFLAGS+= -I${LOCALBASE}/include
USE_RC_SUBR= adsuck
USERS= _adsuck
GROUPS= _adsuck
SUB_FILES+= pkg-message
OPTIONS_DEFINE= EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/adsuck ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8.gz ${STAGEDIR}${MANPREFIX}/man/man8
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/files/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>