blob: 09e3a3775fd212a53188c2bf196bf608c65e2dc8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# 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>
|