2012-04-20 05:27:29 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2012/04/20 09:27:29 pascal Exp $
|
2002-11-29 04:41:39 -05:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= web proxy with advanced filtering capabilities
|
2002-11-29 04:41:39 -05:00
|
|
|
|
2012-04-20 05:27:29 -04:00
|
|
|
V= 3.0.19
|
2008-04-03 22:21:29 -04:00
|
|
|
DISTNAME= privoxy-${V}-stable
|
2009-10-04 15:27:21 -04:00
|
|
|
PKGNAME= privoxy-${V}
|
2002-11-29 04:41:39 -05:00
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.privoxy.org/
|
|
|
|
|
2008-04-03 22:21:29 -04:00
|
|
|
MAINTAINER= Michael Erdely <merdely@openbsd.org>
|
2004-10-19 10:17:44 -04:00
|
|
|
|
2009-01-21 08:54:52 -05:00
|
|
|
# GPLv2+
|
2002-11-29 04:41:39 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-11-11 07:35:09 -05:00
|
|
|
|
|
|
|
WANTLIB += c pcre pcreposix pthread z
|
2002-11-29 04:41:39 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ijbswa/}
|
2008-04-03 22:21:29 -04:00
|
|
|
EXTRACT_SUFX= -src.tar.gz
|
2002-11-29 04:41:39 -05:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
MAKE_FILE= GNUmakefile
|
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS= devel/pcre
|
2002-11-29 04:41:39 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-Dunix -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
pre-configure:
|
2003-02-15 12:15:35 -05:00
|
|
|
@cd ${WRKDIST} && AUTOCONF_VERSION=${AUTOCONF_VERSION} autoheader
|
2002-11-29 04:41:39 -05:00
|
|
|
|
|
|
|
# make install is broken
|
|
|
|
do-install:
|
2009-01-21 08:54:52 -05:00
|
|
|
@${SUBST_CMD} ${WRKSRC}/config
|
2002-11-29 04:41:39 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/privoxy ${PREFIX}/sbin
|
2011-03-24 22:56:13 -04:00
|
|
|
cd ${WRKSRC}/tools && ${INSTALL_SCRIPT} * ${PREFIX}/bin
|
2002-11-29 04:41:39 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/privoxy.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/privoxy
|
2011-03-24 22:56:13 -04:00
|
|
|
.for _f in AUTHORS ChangeLog README LICENSE
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${_f} ${PREFIX}/share/doc/privoxy
|
|
|
|
.endfor
|
2002-11-29 04:41:39 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/privoxy
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/config ${PREFIX}/share/examples/privoxy
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/default.filter ${PREFIX}/share/examples/privoxy
|
2011-05-02 13:43:43 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/user.filter ${PREFIX}/share/examples/privoxy
|
2002-11-29 04:41:39 -05:00
|
|
|
${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>
|