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

PORTNAME=   dnsproxy
PORTVERSION=    1.16
CATEGORIES= dns
MASTER_SITES=   http://www.wolfermann.org/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A proxy for DNS queries

BUILD_DEPENDS=  ${LOCALBASE}/lib/libevent.so:${PORTSDIR}/devel/libevent

GNU_CONFIGURE=  yes

USE_RC_SUBR=    dnsproxy

MAN1=       dnsproxy.1
PLIST_FILES=    sbin/dnsproxy etc/${PORTNAME}/dnsproxy.conf.sample

SUB_FILES=  pkg-message
PLIST_DIRS= %%ETCDIR%%

NO_STAGE=   yes
.include <bsd.port.pre.mk>

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

post-install:
    ${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>