# $OpenBSD: Makefile,v 1.20 2018/01/11 19:27:12 rpe Exp $ COMMENT= HTTP caching proxy DISTNAME= polipo-1.1.1 CATEGORIES= www REVISION= 0 HOMEPAGE= http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/ MAINTAINER= Matthias Kilian MASTER_SITES= http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/ # MIT PERMIT_PACKAGE_CDROM= 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_TEST= Yes .include