2003-05-12 14:02:44 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2003/05/12 18:02:45 sturm Exp $
|
2001-08-22 13:42:11 -04:00
|
|
|
|
|
|
|
COMMENT= "squid redirector"
|
|
|
|
|
|
|
|
DISTNAME= jesred-1.2pl1
|
|
|
|
PKGNAME= jesred-1.2.1
|
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
HOMEPAGE= http://ivs.cs.uni-magdeburg.de/~elkner/webtools/jesred/
|
|
|
|
|
2002-02-28 15:06:27 -05:00
|
|
|
MAINTAINER= Damien Couderc <couderc@openbsd.org>
|
2001-08-22 13:42:11 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://ivs.cs.uni-magdeburg.de/~elkner/webtools/src/
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2002-10-28 20:30:41 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-08-22 13:42:11 -04:00
|
|
|
|
2003-05-12 14:02:44 -04:00
|
|
|
pre-build:
|
|
|
|
@perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," \
|
|
|
|
${WRKSRC}/etc/jesred.conf ${WRKSRC}/path.h
|
|
|
|
|
2001-08-22 13:42:11 -04:00
|
|
|
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>
|