mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
d2101f2dd8
Approved by: stas (mentor)
43 lines
1.1 KiB
Makefile
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.5
|
|
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= araujo@FreeBSD.org
|
|
COMMENT= Enables 6to4 IPv6 automatic tunnels
|
|
|
|
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>
|