openbsd-ports/www/jesred/Makefile

38 lines
1016 B
Makefile
Raw Normal View History

2013-03-11 07:35:43 -04:00
# $OpenBSD: Makefile,v 1.15 2013/03/11 11:44:42 espie Exp $
COMMENT= squid redirector
DISTNAME= jesred-1.2pl1
2010-11-11 07:35:09 -05:00
PKGNAME= jesred-1.2.1
REVISION= 1
CATEGORIES= www
HOMEPAGE= http://www.linofee.org/~jel/webtools/jesred/
2003-10-18 15:44:41 -04:00
# GPL
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c
MASTER_SITES= http://www.linofee.org/~jel/webtools/src/
USE_GMAKE= Yes
2013-03-11 07:35:43 -04:00
NO_TEST= 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>