freebsd-ports/net/hf6to4/Makefile
Edwin Groothuis fca15c081c New port: net/hf6to4 (replaces net/6to4)
This is a net/6to4 replacement written in /bin/sh.
	net/6to4 has to be removed, since its master pkgsrc is dead.

	http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/6to4/

PR:		ports/57232
Submitted by:	Kimura Fuyuki <fuyuki@nigredo.org>
2003-10-04 12:25:02 +00:00

43 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.1
CATEGORIES= net ipv6
MASTER_SITES= http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/net/hf6to4/files/
DISTFILES= hf6to4\?rev=1.2\&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>