2010-03-20 17:32:23 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2010/03/20 21:32:23 kili Exp $
|
2005-08-06 17:21:53 -04:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= HTTP caching proxy
|
2005-08-06 17:21:53 -04:00
|
|
|
|
2010-03-20 17:32:23 -04:00
|
|
|
DISTNAME= polipo-1.0.4.1
|
2005-08-06 17:21:53 -04:00
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.pps.jussieu.fr/~jch/software/polipo/
|
|
|
|
|
2008-02-03 10:06:47 -05:00
|
|
|
MAINTAINER= Matthias Kilian <kili@openbsd.org>
|
2005-08-06 17:21:53 -04:00
|
|
|
|
2010-03-20 17:32:23 -04:00
|
|
|
MASTER_SITES= http://freehaven.net/~chrisd/polipo/
|
2005-08-06 17:21:53 -04:00
|
|
|
|
|
|
|
# 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>
|