diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-12-10 22:47:05 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-12-10 22:47:05 +0000 |
commit | 903667fec9e781f27fdcd284849ec589ad355c31 (patch) | |
tree | a0115df4a778eb6a9e1e8e36f2832c75837de24e /www/privoxy/Makefile | |
parent | 794affa388c5ccdb2756100d83b1d51f02157f64 (diff) | |
download | ports-903667fec9e781f27fdcd284849ec589ad355c31.tar.gz ports-903667fec9e781f27fdcd284849ec589ad355c31.zip |
Notes
Diffstat (limited to 'www/privoxy/Makefile')
-rw-r--r-- | www/privoxy/Makefile | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/www/privoxy/Makefile b/www/privoxy/Makefile index 202339707818..76dc34547755 100644 --- a/www/privoxy/Makefile +++ b/www/privoxy/Makefile @@ -7,6 +7,7 @@ PORTNAME= privoxy PORTVERSION= 3.0.6 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ijbswa @@ -78,25 +79,31 @@ do-install: @${MKDIR} ${PREFIX}/etc/privoxy/templates @${INSTALL_PROGRAM} ${WRKSRC}/privoxy ${PREFIX}/sbin @${INSTALL_DATA} ${WRKSRC}/templates/[a-z]* ${PREFIX}/etc/privoxy/templates -.for file in config default.action standard.action default.filter trust - @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/etc/privoxy +.for defaultfile in default.action standard.action default.filter + @${INSTALL_DATA} ${WRKSRC}/${defaultfile} ${PREFIX}/etc/privoxy + @${CHOWN} privoxy:privoxy ${PREFIX}/etc/privoxy/${defaultfile} + @${CHMOD} 0640 ${PREFIX}/etc/privoxy/${defaultfile} +.endfor + @${MKDIR} ${PREFIX}/share/examples/privoxy +.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} .endfor @${INSTALL_MAN} ${WRKSRC}/privoxy.1 ${MANPREFIX}/man/man1 -# @${MKDIR} ${PREFIX}/share/examples/privoxy -# @${INSTALL_DATA} ${WRKSRC}/user.action ${PREFIX}/share/examples/privoxy .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 + @${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 .endif post-install: - ${MKDIR} /var/log/privoxy - ${CHOWN} privoxy:privoxy /var/log/privoxy - ${CHMOD} 0750 /var/log/privoxy - ${MKDIR} /var/run/privoxy - ${CHOWN} privoxy:privoxy /var/run/privoxy - ${CHMOD} 0750 /var/run/privoxy + @${MKDIR} /var/log/privoxy + @${CHOWN} privoxy:privoxy /var/log/privoxy + @${CHMOD} 0750 /var/log/privoxy + @${MKDIR} /var/run/privoxy + @${CHOWN} privoxy:privoxy /var/run/privoxy + @${CHMOD} 0750 /var/run/privoxy @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> |