summaryrefslogtreecommitdiff
path: root/net/6to4/Makefile
blob: 2a41bfe40e9c1bc9c406c53b20276199081b57ee (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
# $NetBSD: Makefile,v 1.5 2001/03/04 02:53:27 hubertf 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

EXTRACT_ONLY=	# empty
NO_WRKSUBDIR=	yes
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"