2003-07-15 12:01:26 +02:00
|
|
|
# New ports collection makefile for: privoxy+ipv6
|
|
|
|
# Date created: 17 June 2003
|
|
|
|
# Whom: Lars Eggert
|
2002-11-22 22:17:10 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2003-07-15 12:01:26 +02:00
|
|
|
PORTNAME= privoxy+ipv6
|
|
|
|
PORTVERSION= 20030523
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 2
|
2003-07-15 12:01:26 +02:00
|
|
|
CATEGORIES= www ipv6
|
2003-09-08 19:55:32 +02:00
|
|
|
MASTER_SITES= ftp://ftp.deepspace6.net/pub/ds6/sources/privoxy/
|
2003-07-15 12:01:26 +02:00
|
|
|
DISTNAME= privoxy_CVS_${PORTVERSION}_ipv6_5
|
2002-11-22 22:17:10 +01:00
|
|
|
|
2004-01-19 01:56:11 +01:00
|
|
|
MAINTAINER= lars.eggert@gmx.net
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= Privoxy is a web proxy with advanced filtering capabilities
|
2002-11-22 22:17:10 +01:00
|
|
|
|
2003-07-15 12:01:26 +02:00
|
|
|
WRKSRC= ${WRKDIR}/privoxy
|
2002-11-22 22:17:10 +01:00
|
|
|
|
2003-07-15 12:01:26 +02:00
|
|
|
ETCDIR= ${PREFIX}/etc/privoxy
|
|
|
|
USER= nobody
|
|
|
|
GROUP= nobody
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/+ipv6//}
|
2002-11-27 14:35:52 +01:00
|
|
|
|
2003-07-15 12:01:26 +02:00
|
|
|
USE_BZIP2= yes
|
2002-11-22 22:17:10 +01:00
|
|
|
USE_GMAKE= yes
|
2005-11-15 07:52:12 +01:00
|
|
|
USE_AUTOTOOLS= autoheader:213
|
2003-07-15 12:01:26 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--with-user=${USER} --with-group=${GROUP} \
|
|
|
|
--sysconfdir=${ETCDIR} --localstatedir=/var
|
|
|
|
|
2002-11-22 22:17:10 +01:00
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
|
|
|
|
MAN1= privoxy.1
|
|
|
|
|
2002-11-27 14:35:52 +01:00
|
|
|
post-install:
|
2003-07-15 12:01:26 +02:00
|
|
|
@for file in config user.action; do \
|
|
|
|
if [ ! -f ${ETCDIR}/$$file ]; then \
|
|
|
|
${CP} ${ETCDIR}/$$file.sample ${ETCDIR}/$$file; \
|
|
|
|
${CHOWN} ${USER}:${GROUP} ${ETCDIR}/$$file; \
|
|
|
|
${CHMOD} ug+rw ${ETCDIR}/$$file; \
|
|
|
|
fi; \
|
|
|
|
done
|
2002-11-27 14:35:52 +01:00
|
|
|
|
2002-11-22 22:17:10 +01:00
|
|
|
.include <bsd.port.mk>
|