rpe 9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00

38 lines
913 B
Makefile

# $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 <kili@openbsd.org>
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 <bsd.port.mk>