blob: 93a6b758a47f61277f1ecf7af2abfc1026d2cd2f (
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
38
39
|
# New ports collection makefile for: www6to4
# Date created: 22.03.2002
# Whom: Janos Mohacsi <janos.mohacsi@dante.org.uk>
#
# $FreeBSD$
PORTNAME= www6to4
PORTVERSION= 1.6
CATEGORIES= www ipv6
MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Lightweight http proxy to help IPv4 only browsers
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./-/}
post-patch:
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,' \
${WRKSRC}/www6to4.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/www6to4 ${PREFIX}/sbin
@if [ ! -d ${PREFIX}/etc/www6to4 ]; then \
${MKDIR} ${PREFIX}/etc/www6to4; fi
${INSTALL_DATA} ${WRKSRC}/www6to4.conf \
${PREFIX}/etc/www6to4/www6to4.conf.sample
${INSTALL_DATA} ${WRKSRC}/www6to4_forward.conf \
${PREFIX}/etc/www6to4/www6to4_forward.conf.sample
.if !defined(NOPORTDOCS)
if [ ! -d ${DOCSDIR} ]; then \
${MKDIR} ${DOCSDIR}; fi
${INSTALL_DATA} ${WRKSRC}/README \
${DOCSDIR}
.endif
@if [ ! -f ${PREFIX}/etc/rc.d/www6to4.sh ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/www6to4.sh startup file."; \
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/www6to4.sh ${PREFIX}/etc/rc.d/www6to4.sh; \
fi
.include <bsd.port.mk>
|