summaryrefslogtreecommitdiff
path: root/www/squid/Makefile
diff options
context:
space:
mode:
authortron <tron>1998-05-23 21:27:20 +0000
committertron <tron>1998-05-23 21:27:20 +0000
commit32a6c08e3a2661b72aa33df94d722c40cd11bc88 (patch)
treef9bdabb37452dfb6746a3518c85678d490767aae /www/squid/Makefile
parent0854a8c8b99f8386207a69096001a9346a8a954c (diff)
downloadpkgsrc-32a6c08e3a2661b72aa33df94d722c40cd11bc88.tar.gz
New "squid-1.1.21" package based on FreeBSD port adapted by Rene Hexel
in PR pkg/5314.
Diffstat (limited to 'www/squid/Makefile')
-rw-r--r--www/squid/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/www/squid/Makefile b/www/squid/Makefile
new file mode 100644
index 00000000000..fb658e79bb7
--- /dev/null
+++ b/www/squid/Makefile
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1 1998/05/23 21:27:20 tron Exp $
+# $FreeBSD Id: Makefile,v 1.36 1998/03/20 13:58:54 peter Exp
+#
+
+DISTNAME= squid-1.1.21
+CATEGORIES= www
+MASTER_SITES= \
+ ftp://squid.nlanr.net/pub/squid-1.1/ \
+ ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/squid-1.1/ \
+ ftp://sunsite.auc.dk/pub/infosystems/squid/squid-1.1/ \
+ ftp://ftp.net.lut.ac.uk/squid/squid-1.1/
+EXTRACT_SUFX= -src.tar.gz
+
+MAINTAINER= tron@netbsd.org
+
+GNU_CONFIGURE= yes
+# Follow the apache port's lead...
+CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/squid --bindir=${PREFIX}/sbin \
+ --libexecdir=${PREFIX}/sbin --localstatedir=/var/squid
+MAKEFILE= makefile
+
+MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+# If you need to set any of these options, read the source and uncomment
+# these if appropriate.
+#MAKE_ENV+= HOST_OPT="-DCACHEMGR_HOSTNAME=\"getfullhostname()\""
+#MAKE_ENV+= AUTH_OPT="-DUSE_PROXY_AUTH=1"
+#MAKE_ENV+= LOG_HDRS_OPT="-DLOG_FULL_HEADERS=1"
+#MAKE_ENV+= ICMP_OPT="-DUSE_ICMP=1"
+#MAKE_ENV+= DELAY_HACK="-DDELAY_HACK=1"
+#MAKE_ENV+= USERAGENT_OPT="-DUSE_USERAGENT_LOG=1"
+#MAKE_ENV+= KILL_PARENT_OPT="-DKILL_PARENT_OPT"
+#MAKE_ENV+= USE_POLL_OPT="-DUSE_POLL"
+# do NOT define both USE_SPLAY_TREE and USE_BIN_TREE at the same time!
+#MAKE_ENV+= USE_SPLAY_TREE="-DUSE_SPLAY_TREE"
+#MAKE_ENV+= USE_BIN_TREE="-DUSE_BIN_TREE"
+#MAKE_ENV+= RELOAD_INTO_IMS="-DRELOAD_INTO_IMS"
+#MAKE_ENV+= UNDERSCORES_OPT="-DALLOW_HOSTNAME_UNDERSCORES"
+
+post-build:
+ ${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/squid.sh >${WRKSRC}/squid.sh
+
+post-install:
+ cd ${WRKSRC}/src; make install-pinger
+ ${INSTALL_SCRIPT} ${WRKSRC}/squid.sh ${PREFIX}/etc/rc.d/squid.sh
+ @${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
+
+.include <../../mk/bsd.pkg.mk>