diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-03-04 13:27:19 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-03-04 13:27:19 +0000 |
commit | ebbabe8dd1f865ebe2dc19ee9aa574940604762c (patch) | |
tree | b4cf71297340b74a0f1e0e3e3098ef351f496a68 /www/jesred | |
parent | 36790637283d76e96cb5bbeed1644c5a8e4449db (diff) | |
download | ports-ebbabe8dd1f865ebe2dc19ee9aa574940604762c.tar.gz ports-ebbabe8dd1f865ebe2dc19ee9aa574940604762c.zip |
Notes
Diffstat (limited to 'www/jesred')
-rw-r--r-- | www/jesred/Makefile | 21 | ||||
-rw-r--r-- | www/jesred/files/patch-aa | 4 | ||||
-rw-r--r-- | www/jesred/pkg-plist | 8 |
3 files changed, 14 insertions, 19 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> diff --git a/www/jesred/files/patch-aa b/www/jesred/files/patch-aa index 820af33d9800..e5fce4857025 100644 --- a/www/jesred/files/patch-aa +++ b/www/jesred/files/patch-aa @@ -1,5 +1,5 @@ --- Makefile.orig Sat Jul 25 07:19:50 1998 -+++ Makefile Mon Nov 8 18:22:45 1999 ++++ Makefile Wed Jan 19 11:53:51 2000 @@ -2,20 +2,20 @@ # HINT: If you want to run the program on an UltraSPARC driven machine, # I recommend to use Sun C-Compiler >= 4.0 or gcc >= 2.8.0 with @@ -31,7 +31,7 @@ # redirect rules are ignored, if there are some. # -# DEFS = -DUSE_ACCEL -+DEFS = -DUSE_ACCEL -DDEFAULT_PATH=\"${PREFIX}/etc/squid\" ++DEFS = -DUSE_ACCEL -DDEFAULT_PATH=\"${PREFIX}/etc/jesred\" # That's it - no further changes should be necessary ;-) # =========================================================================== diff --git a/www/jesred/pkg-plist b/www/jesred/pkg-plist index 99ff1e35b488..f236449f1d53 100644 --- a/www/jesred/pkg-plist +++ b/www/jesred/pkg-plist @@ -1,5 +1,5 @@ -etc/squid/jesred.conf.sample -@exec [ -f %B/jesred.conf ] || /bin/cp %B/%f %B/jesred.conf -etc/squid/redirect.acl.sample -etc/squid/redirect.rules.sample +etc/jesred/jesred.conf.sample +etc/jesred/redirect.acl.sample +etc/jesred/redirect.rules.sample libexec/jesred +@dirrm etc/jesred |