summaryrefslogtreecommitdiff
path: root/net/6to4/Makefile
blob: e54ceca902908c39320638c413312e925fb0efcf (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
29
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.7 2001/09/09 20:36:37 agc Exp $
#

DISTNAME=		6to4-1.1nb1
CATEGORIES=		net
MASTER_SITES=		# empty
DISTFILES=		# empty

MAINTAINER=		hubertf@netbsd.org
HOMEPAGE=		http://www.netbsd.org/packages/net/6to4/files/6to4.html
COMMENT=		Enables 6to4 IPv6 automatic tunnels

USE_PERL5=		YES

# This pkg doesn't regard USE_INET6 (leave this comment for README-IPv6.html!)
EXTRACT_ONLY=	# empty
WRKSRC=		${WRKDIR}
NO_CHECKSUM=	yes
NO_PATCH=	yes
NO_CONFIGURE=	yes

do-build:
.for FILE in 6to4
	${SED} -e 's|@PREFIX@|${PREFIX}|g'		\
		-e 's|@LOCALBASE@|${LOCALBASE}|g'	\
		< ${FILESDIR}/${FILE}	 		\
		> ${WRKSRC}/${FILE}
.endfor

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/6to4 ${PREFIX}/sbin/6to4
	${INSTALL_MAN} ${FILESDIR}/6to4.8 ${PREFIX}/man/man8
	${INSTALL_DATA} ${FILESDIR}/6to4.conf ${PREFIX}/etc/6to4.conf-example
	${INSTALL_DATA} ${FILESDIR}/6to4.html ${PREFIX}/share/doc/6to4.html

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