aboutsummaryrefslogtreecommitdiff
path: root/www/privoxy/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-01-25 15:44:02 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-01-25 15:44:02 +0000
commitbcd0d22a1378f7ea33769a9e50ee9bb8c0e9a71b (patch)
tree76352729d12c1357d838e766b7252308bade440d /www/privoxy/Makefile
parentfb194239f65a818bd0b4a31889ea8e3ea7e778f8 (diff)
Notes
Diffstat (limited to 'www/privoxy/Makefile')
-rw-r--r--www/privoxy/Makefile25
1 files changed, 15 insertions, 10 deletions
diff --git a/www/privoxy/Makefile b/www/privoxy/Makefile
index 0621bd14455a..24ed3cef080b 100644
--- a/www/privoxy/Makefile
+++ b/www/privoxy/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= privoxy
-PORTVERSION= 3.0.6
-PORTREVISION= 2
+PORTVERSION= 3.0.8
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ijbswa
@@ -16,6 +15,8 @@ DISTNAME= privoxy-${PORTVERSION}-stable-src
MAINTAINER= fk@fabiankeil.de
COMMENT= Privoxy is a web proxy with advanced filtering capabilities
+LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
+
WRKSRC= ${WRKDIR}/privoxy-${PORTVERSION}-stable
USE_GMAKE= yes
@@ -32,6 +33,10 @@ CONFLICTS= privoxy-devel-[0-9]*
MAN1= privoxy.1
+CONFIGURE_ARGS= --enable-zlib
+CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib \
+ CPPFLAGS=-I${LOCALBASE}/include/
+
OPTIONS= FORCE "Allows to optionally bypass blocks" On \
TOGGLE "Support for remote toggling" On \
EDITOR "Enable webbased action editor" On \
@@ -63,7 +68,7 @@ post-patch:
${WRKSRC}/config
.if !defined(NOPORTDOCS)
${REINPLACE_CMD} \
- -e 's,^#\(user-manual\) http://www.privoxy.org/user-manual/,\1 ${PREFIX}/share/doc/privoxy-manual,' \
+ -e 's,^#\(user-manual\) http://www.privoxy.org/user-manual/,\1 ${DOCSDIR}/user-manual,' \
${WRKSRC}/config
.endif
@@ -84,17 +89,17 @@ do-install:
@${CHOWN} privoxy:privoxy ${PREFIX}/etc/privoxy/${defaultfile}
@${CHMOD} 0640 ${PREFIX}/etc/privoxy/${defaultfile}
.endfor
- @${MKDIR} ${PREFIX}/share/examples/privoxy
+ @${MKDIR} ${EXAMPLESDIR}
.for examplefile in config trust user.action
- @${INSTALL_DATA} ${WRKSRC}/${examplefile} ${PREFIX}/share/examples/privoxy
- @${CHOWN} privoxy:privoxy ${PREFIX}/share/examples/privoxy/${examplefile}
- @${CHMOD} 0640 ${PREFIX}/share/examples/privoxy/${examplefile}
+ @${INSTALL_DATA} ${WRKSRC}/${examplefile} ${EXAMPLESDIR}/
+ @${CHOWN} privoxy:privoxy ${EXAMPLESDIR}/${examplefile}
+ @${CHMOD} 0640 ${EXAMPLESDIR}/${examplefile}
.endfor
@${INSTALL_MAN} ${WRKSRC}/privoxy.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/privoxy-manual
- @${INSTALL_DATA} ${WRKSRC}/doc/webserver/user-manual/[a-z]* ${PREFIX}/share/doc/privoxy-manual
- @${INSTALL_DATA} ${WRKSRC}/doc/webserver/p_doc.css ${PREFIX}/share/doc/privoxy-manual
+ @${MKDIR} ${DOCSDIR}/user-manual
+ @${INSTALL_DATA} ${WRKSRC}/doc/webserver/user-manual/[a-z]* ${DOCSDIR}/user-manual
+ @${INSTALL_DATA} ${WRKSRC}/doc/webserver/p_doc.css ${DOCSDIR}/user-manual
.endif
post-install: