1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/dns/adsuck/Makefile
Baptiste Daroussin b564653452 Only use libevent2
Remove libevent as libevent2 is providing a good compatibility interface as well
as providing better performances.
Remove custom patches from libevent2 and install libevent2 the regular way
Mark ports abusing private fields of the libevent1 API as broken
Import a patch from fedora to have honeyd working with libevent2
Remove most of the patches necessary to find the custom installation we used to
have for libevent2

With hat:	portmgr
2014-07-24 13:32:58 +00:00

38 lines
822 B
Makefile

# Created by: Philippe Pepiot <phil@philpep.org>
# $FreeBSD$
PORTNAME= adsuck
PORTVERSION= 2.3
PORTREVISION= 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= ISCL
LIB_DEPENDS+= libevent.so:${PORTSDIR}/devel/libevent2 \
libldns.so:${PORTSDIR}/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>