1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/www/www6to4/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

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>