dfd6e538c6
PR: ports/61100 Submitted by: Kimura Fuyuki <fuyuki@nigredo.org> (maintainer)
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: hf6to4
|
|
# Date created: 26 September 2003
|
|
# Whom: Kimura Fuyuki <fuyuki@nigredo.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hf6to4
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/net/hf6to4/files/
|
|
DISTFILES= hf6to4\?rev=1.3\&content-type=text%2fplain \
|
|
hf6to4.8\?rev=1.2\&content-type=text%2fplain \
|
|
hf6to4.conf\?rev=1.2\&content-type=text%2fplain
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= fuyuki@nigredo.org
|
|
COMMENT= Enables 6to4 IPv6 automatic tunnels
|
|
|
|
USE_REINPLACE= yes
|
|
NO_BUILD= yes
|
|
|
|
MAN8= hf6to4.8
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKSRC}
|
|
.for i in ${DISTFILES}
|
|
${CP} ${DISTDIR}/${DIST_SUBDIR}/${i} ${WRKSRC}/${i:C/\?.*$//}
|
|
.endfor
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|/usr/pkg|${PREFIX}|g' \
|
|
${WRKSRC}/hf6to4 ${WRKSRC}/hf6to4.8
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/hf6to4 ${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/hf6to4.8 ${PREFIX}/man/man8
|
|
${INSTALL_DATA} ${WRKSRC}/hf6to4.conf ${PREFIX}/etc/hf6to4.conf.sample
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|