blob: da116256b8a1ea325e9200796df9caad02eb239a (
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
37
38
39
40
41
42
|
# New ports collection makefile for: dnsproxy
# Date created: 14 January 2004
# Whom: Clement Laforet <clement@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dnsproxy
PORTVERSION= 1.15
PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://www.wolfermann.org/
MAINTAINER= az@FreeBSD.org
COMMENT= A proxy for DNS queries
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_RC_SUBR= dnsproxy
MAN1= dnsproxy.1
PLIST_FILES= sbin/dnsproxy etc/${PORTNAME}/dnsproxy.conf.sample
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
pre-configure:
.if ${OSVERSION} > 700007
${RM} ${WRKSRC}/libevent/compat/sys/queue.h
.endif
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>
|