aanriot 0adf4238b5 import polipo 0.9.8.
Polipo is a small and fast caching web proxy (a web cache, an HTTP
proxy) designed to be used by one person or a small group of people. I
like to think that is similar in spirit to WWWOFFLE, but the
implementation techniques are more like the ones ones used by Squid.

from Jon Trembley <jon@brain-box.net>;
help and ok alek@
2005-08-06 21:21:53 +00:00

38 lines
971 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2005/08/06 21:21:53 aanriot Exp $
COMMENT= "HTTP caching proxy"
DISTNAME= polipo-0.9.8
CATEGORIES= www
HOMEPAGE= http://www.pps.jussieu.fr/~jch/software/polipo/
MAINTAINER= Jon Trembley <jon@brain-box.net>
MASTER_SITES= http://www.pps.jussieu.fr/~jch/software/files/polipo/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
post-extract:
@perl -pi -e "s,/usr/local/share/polipo/,${LOCALBASE}/share/polipo/," \
${WRKSRC}/polipo.man
@perl -pi -e "s,/var/cache/polipo/,/var/polipo/cache," \
${WRKSRC}/polipo.man
@perl -pi -e "s,/usr/share/polipo/www/,${LOCALBASE}/share/polipo/," \
${WRKSRC}/polipo.man
@perl -pi -e "s,/etc,${SYSCONFDIR},g" \
${WRKSRC}/polipo.man
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/polipo
${INSTALL_DATA} ${WRKSRC}/*.sample ${PREFIX}/share/examples/polipo
NO_REGRESS= Yes
.include <bsd.port.mk>