ajacoutot c4096e6659 Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:16:56 +00:00

36 lines
848 B
Makefile

COMMENT= HTTP caching proxy
DISTNAME= polipo-1.1.1
CATEGORIES= www
REVISION= 1
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= 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>