summaryrefslogtreecommitdiff
path: root/net/totd/Makefile
blob: f7666eb00d77075e7d5fd0afeebdfb930c936b99 (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
# $NetBSD: Makefile,v 1.32 2012/10/23 17:19:14 asau Exp $
#

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

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

GNU_CONFIGURE=	yes
USE_FEATURES+=	inet6

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

BUILDLINK_TRANSFORM+=		rm:-Werror

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

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

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