summaryrefslogtreecommitdiff
path: root/net/totd/Makefile
blob: ce33b7abe23cfdda2c8318fa5531d11f1d37b32c (plain)
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
# $NetBSD: Makefile,v 1.24 2007/03/28 13:25:53 joerg Exp $
#

DISTNAME=	totd-1.5.1
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/

MAINTAINER=	feico@pasta.cs.uit.no
HOMEPAGE=	http://www.vermicelli.pasta.cs.uit.no/ipv6/software.html
COMMENT=	DNS proxy that supports IPv6 <==> IPv4 record translation

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q}

PKG_OPTIONS_VAR=		PKG_OPTIONS.totd
PKG_OPTIONS_REQUIRED_GROUPS=	inet6 # require inet6 capability
PKG_OPTIONS_GROUP.inet6=	inet6

INSTALLATION_DIRS=	${PKMANDIR}/man8 sbin share/examples/totd

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/totd ${PREFIX}/sbin/
	${INSTALL_MAN} ${WRKSRC}/totd.8 ${PREFIX}/${PKGMANDIR}/man8/
	${INSTALL_DATA} ${FILESDIR}/totd.conf.sample \
		${PREFIX}/share/examples/totd/totd.conf.sample

.include "../../mk/bsd.options.mk"
.include "../../mk/bsd.pkg.mk"