mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
e1bfdfbe56
Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine
40 lines
949 B
Makefile
40 lines
949 B
Makefile
# Created by: Janos Mohacsi <janos.mohacsi@dante.org.uk>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= www6to4
|
|
PORTVERSION= 1.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= www ipv6
|
|
MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/
|
|
|
|
MAINTAINER= jmohacsi@bsd.hu
|
|
COMMENT= Lightweight http proxy to help IPv4 only browsers
|
|
|
|
LICENSE= GPLv2
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./-/}
|
|
|
|
USE_RC_SUBR= www6to4
|
|
|
|
PORTDOCS= README
|
|
|
|
ALL_TARGET= www6to4
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,/etc,${ETCDIR},' \
|
|
${WRKSRC}/www6to4.c ${WRKSRC}/www6to4.conf
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/www6to4 ${STAGEDIR}${PREFIX}/sbin
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/www6to4.conf \
|
|
${STAGEDIR}${ETCDIR}/www6to4.conf.sample
|
|
${INSTALL_DATA} ${WRKSRC}/www6to4_forward.conf \
|
|
${STAGEDIR}${ETCDIR}/www6to4_forward.conf.sample
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|