blob: 675f3b572726648eacd94a57e98c62fa9082eaa1 (
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.8 2001/11/22 03:00:07 hubertf Exp $
#
DISTNAME= 6to4-1.2
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"
|