pkgsrc-wip/webcleaner/Makefile
Michal Pasternak 238817e345 WebCleaner is a filtering HTTP proxy (and yes, it is half Python, half C).
Features:
* HTTP/1.1 support
* integrated HTML parser, removes unwanted HTML (adverts, flash, etc.)
* integrated JavaScript engine, allows popup filtering
* compress documents on-the-fly (with gzip)
* disable animated GIFs
* filter images by size, removes banner adverts
* reduce images to low-bandwidth JPEGs
* remove/add/modify arbitrary HTTP headers
* usage of SquidGuard domain and url blacklists
* Basic, Digest and (untested) NTLM proxy authentication support
  per-host access control
* configurable over a themable web interface

WebCleaner is licensed under the GNU Public License (GPL).
2004-02-27 17:09:31 +00:00

33 lines
907 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2004/02/27 17:09:31 mpasternak Exp $
#
DISTNAME= webcleaner-2.8
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=webcleaner/}
MAINTAINER= dotz@irc.pl
HOMEPAGE= http://webcleaner.sourceforge.net/
COMMENT= Filtering HTTP proxy
DEPENDS+= ${PYPKGPREFIX}-amkCrypto>=0:../../security/py-amkCrypto
DEPENDS+= ${PYPKGPREFIX}-imaging>=0:../../graphics/py-imaging
USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
GNU_CONFIGURE= yes
PY_PATCHPLIST= yes
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS}
cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} ${PYTHONBIN} setup.py build
do-install:
cd ${WRKSRC} && ${PYTHONBIN} setup.py install
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"