openbsd-ports/www/privoxy/Makefile
merdely ba8add3ebb Remove surrounding quotes from
COMMENT-*/ERRORS/NO_REGRESS/PERMIT_*/REGRESS_IS_INTERACTIVE

Change '.include "bsd.port.mk"' to '.include <bsd.port.mk>' while here
(ok naddy@)
2007-09-15 20:38:20 +00:00

56 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2007/09/15 20:38:25 merdely Exp $
COMMENT= web proxy with advanced filtering capabilities
DISTNAME= privoxy-3.0.3-2-stable
PKGNAME= ${DISTNAME:S/-2-stable//}p0
CATEGORIES= www
HOMEPAGE= http://www.privoxy.org/
MAINTAINER= Chris Kuethe <ckuethe@ualberta.ca>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pthread
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ijbswa/}
EXTRACT_SUFX= .src.tar.gz
WRKDIST= ${WRKDIR}/${DISTNAME:S/-2//}
NO_REGRESS= Yes
USE_GMAKE= Yes
MAKE_FILE= GNUmakefile
LIB_DEPENDS= pcre,pcreposix::devel/pcre
CONFIGURE_STYLE= autoconf
CONFIGURE_ENV= CPPFLAGS="-Dunix -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-configure:
@cd ${WRKDIST} && AUTOCONF_VERSION=${AUTOCONF_VERSION} autoheader
# make install is broken
do-install:
@perl -pi \
-e 's|%%SYSCONFDIR%%|${SYSCONFDIR}|g;' \
${WRKSRC}/config
${INSTALL_PROGRAM} ${WRKSRC}/privoxy ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/privoxy.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/privoxy
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/privoxy
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/privoxy
${INSTALL_DATA} ${WRKSRC}/config ${PREFIX}/share/examples/privoxy
${INSTALL_DATA} ${WRKSRC}/default.filter ${PREFIX}/share/examples/privoxy
${INSTALL_DATA} ${WRKSRC}/*.action ${PREFIX}/share/examples/privoxy
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/privoxy/templates
${INSTALL_DATA} ${WRKSRC}/templates/* ${PREFIX}/share/examples/privoxy/templates
.include <bsd.port.mk>