openbsd-ports/www/jesred/Makefile
sthen bedfe24e50 correct master site, home page, kill trailing whitespace: from
Jim Razmus. bump package & regen plist (@bin).
2008-06-30 12:28:46 +00:00

40 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2008/06/30 12:28:46 sthen Exp $
COMMENT= squid redirector
DISTNAME= jesred-1.2pl1
PKGNAME= jesred-1.2.1p1
CATEGORIES= www
HOMEPAGE= http://www.linofee.org/~jel/webtools/jesred/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= http://www.linofee.org/~jel/webtools/src/
USE_GMAKE= Yes
NO_REGRESS= Yes
pre-build:
@perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," \
${WRKSRC}/etc/jesred.conf ${WRKSRC}/path.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jesred ${PREFIX}/libexec
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/jesred
${INSTALL_DATA} ${WRKSRC}/etc/jesred.conf \
${PREFIX}/share/examples/jesred/jesred.conf.sample
${INSTALL_DATA} ${WRKSRC}/etc/redirect.acl \
${PREFIX}/share/examples/jesred/redirect.acl.sample
${INSTALL_DATA} ${WRKSRC}/etc/redirect.rules \
${PREFIX}/share/examples/jesred/redirect.rules.sample
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jesred
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/jesred
.include <bsd.port.mk>