summaryrefslogtreecommitdiff
path: root/dns/totd/Makefile
blob: dc4e936a95fc18bf858b77d066b4e8b65f15b153 (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
# Created by: Kris Kennaway <kris@FreeBSD.org>
# $FreeBSD$

PORTNAME=	totd
PORTVERSION=	1.5.1
PORTREVISION=	1
CATEGORIES=	dns ipv6
MASTER_SITES=	http://BSDforge.com/projects/source/dns/totd/

MAINTAINER=	ed@FreeBSD.org
COMMENT=	DNS proxy that supports IPv6 <==> IPv4 record translation

USES=		desthack uidfix

USE_RC_SUBR=	totd
GNU_CONFIGURE=	yes

PLIST_FILES=	etc/totd.conf.sample sbin/totd \
		man/man8/totd.8.gz

EXTRA_PATCHES=	${FILESDIR}/extra-patch-ne_mesg.c \
		${FILESDIR}/extra-patch-tcp_response.c

MAKE_ARGS=	CC="${CC}"

post-patch:
	${REINPLACE_CMD} -e 's/-o bin -g bin//g; s/-o root -g wheel//g' ${WRKSRC}/Makefile.in

post-install:
	${INSTALL_DATA} ${FILESDIR}/totd.conf.sample ${STAGEDIR}${PREFIX}/etc

.include <bsd.port.mk>