aboutsummaryrefslogtreecommitdiff
path: root/www/jesred/Makefile
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2000-03-04 13:27:19 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2000-03-04 13:27:19 +0000
commitebbabe8dd1f865ebe2dc19ee9aa574940604762c (patch)
treeb4cf71297340b74a0f1e0e3e3098ef351f496a68 /www/jesred/Makefile
parent36790637283d76e96cb5bbeed1644c5a8e4449db (diff)
downloadports-ebbabe8dd1f865ebe2dc19ee9aa574940604762c.tar.gz
ports-ebbabe8dd1f865ebe2dc19ee9aa574940604762c.zip
Notes
Diffstat (limited to 'www/jesred/Makefile')
-rw-r--r--www/jesred/Makefile21
1 files changed, 8 insertions, 13 deletions
diff --git a/www/jesred/Makefile b/www/jesred/Makefile
index 26629cdd347b..e692405ae018 100644
--- a/www/jesred/Makefile
+++ b/www/jesred/Makefile
@@ -13,19 +13,14 @@ MASTER_SITES= http://ivs.cs.uni-magdeburg.de/~elkner/webtools/src/
MAINTAINER= dsh@vlink.ru
-RUN_DEPENDS= squid:${PORTSDIR}/www/squid22
-
do-install:
- ${INSTALL_PROGRAM} ${COPY} ${WRKSRC}/jesred ${PREFIX}/libexec
- ${SED} "s!%%PREFIX%%!${PREFIX}!" < ${WRKSRC}/etc/jesred.conf \
- > ${WRKSRC}/etc/jesred.conf.sample
- ${INSTALL_DATA} ${WRKSRC}/etc/jesred.conf.sample ${PREFIX}/etc/squid
- ${INSTALL_DATA} ${COPY} ${WRKSRC}/etc/redirect.acl \
- ${PREFIX}/etc/squid/redirect.acl.sample
- ${INSTALL_DATA} ${COPY} ${WRKSRC}/etc/redirect.rules \
- ${PREFIX}/etc/squid/redirect.rules.sample
- @[ -f ${PREFIX}/etc/squid/jesred.conf ] || \
- ${CP} ${PREFIX}/etc/squid/jesred.conf.sample \
- ${PREFIX}/etc/squid/jesred.conf
+ ${INSTALL_PROGRAM} ${WRKSRC}/jesred ${PREFIX}/libexec
+ ${MKDIR} ${PREFIX}/etc/jesred
+ ${INSTALL_DATA} ${WRKSRC}/etc/jesred.conf \
+ ${PREFIX}/etc/jesred/jesred.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/etc/redirect.acl \
+ ${PREFIX}/etc/jesred/redirect.acl.sample
+ ${INSTALL_DATA} ${WRKSRC}/etc/redirect.rules \
+ ${PREFIX}/etc/jesred/redirect.rules.sample
.include <bsd.port.mk>