aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnsproxy/Makefile
blob: 53b693e92b1bdd714ece37ffc3e0663fce6cde5b (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
# Created by: Clement Laforet <clement@FreeBSD.org>
# $FreeBSD$

PORTNAME=   dnsproxy
PORTVERSION=    1.17
PORTREVISION=   2
CATEGORIES= dns
MASTER_SITES=   http://www.wolfermann.org/

MAINTAINER= krion@FreeBSD.org
COMMENT=    Proxy for DNS queries

LICENSE=    MIT

LIB_DEPENDS=    libevent.so:devel/libevent

GNU_CONFIGURE=  yes

USES=       groff
USE_RC_SUBR=    dnsproxy

PLIST_FILES=    sbin/dnsproxy etc/${PORTNAME}/dnsproxy.conf.sample \
        man/man1/dnsproxy.1.gz

SUB_FILES=  pkg-message

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/dnsproxy ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_MAN} ${WRKSRC}/dnsproxy.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
    @${MKDIR} ${STAGEDIR}${ETCDIR}
    ${INSTALL_DATA} ${WRKSRC}/dnsproxy.conf ${STAGEDIR}${ETCDIR}/dnsproxy.conf.sample

.include <bsd.port.mk>