aboutsummaryrefslogtreecommitdiffstats
path: root/www/jesred/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-12-27 10:15:15 +0800
committersteve <steve@FreeBSD.org>1999-12-27 10:15:15 +0800
commit746b5d337cbfed8a8d3482f84806701db8bc30bc (patch)
treea81a330916c7c86b04e545ad1fbdcdf430d73a0f /www/jesred/Makefile
parent3c7b31c4a59c2318bf8af74acdea690bef46087d (diff)
downloadfreebsd-ports-gnome-746b5d337cbfed8a8d3482f84806701db8bc30bc.tar.gz
freebsd-ports-gnome-746b5d337cbfed8a8d3482f84806701db8bc30bc.tar.zst
freebsd-ports-gnome-746b5d337cbfed8a8d3482f84806701db8bc30bc.zip
Adding jesred version 1.2pl1.
A redirector for Squid. PR: 14869 Submitted by: Denis Shaposhnikov <dsh@wizard.vlink.ru>
Diffstat (limited to 'www/jesred/Makefile')
-rw-r--r--www/jesred/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/www/jesred/Makefile b/www/jesred/Makefile
new file mode 100644
index 000000000000..26629cdd347b
--- /dev/null
+++ b/www/jesred/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: jesred
+# Version required: 1.2.pl1
+# Date created: Mon Nov 8 17:42:20 MSK 1999
+# Whom: dsh@vlink.ru
+#
+# $FreeBSD$
+#
+
+DISTNAME= jesred-1.2pl1
+PKGNAME= jesred-1.2.1
+CATEGORIES= www
+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
+
+.include <bsd.port.mk>