1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/www/www6to4/Makefile
Alex Kozlov f7a6608a8d - Support STAGEDIR [1]
- Add license [1]
- Use @sample to handle config files

PR:	ports/188936 (based on) [1]
Submitted by:	Takefu <takefu@airport.fm> [1]
Approved by:	Janos Mohacsi <jmohacsi@bsd.hu> (maintainer)
2014-05-07 17:08:56 +00:00

38 lines
927 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
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>