summaryrefslogtreecommitdiff
path: root/www/squirm/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-02 17:12:19 +0000
committerrillig <rillig@pkgsrc.org>2006-10-02 17:12:19 +0000
commitfb6c9138bdf2ccbd022a3b586a4b40d291d419bb (patch)
tree7952162b7f3df28136b9f60916e115ed54a0a441 /www/squirm/Makefile
parent5c76cf883bd4ab8be62366e07873741d6c2f486f (diff)
downloadpkgsrc-fb6c9138bdf2ccbd022a3b586a4b40d291d419bb.tar.gz
Imported squirm.
Squirm is a fast and configurable redirector for the Squid Internet Object Cache.
Diffstat (limited to 'www/squirm/Makefile')
-rw-r--r--www/squirm/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/www/squirm/Makefile b/www/squirm/Makefile
new file mode 100644
index 00000000000..e30968342f3
--- /dev/null
+++ b/www/squirm/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/10/02 17:12:19 rillig Exp $
+#
+
+DISTNAME= squirm-1.0betaB
+CATEGORIES= www
+MASTER_SITES= http://squirm.foote.com.au/
+
+MAINTAINER= rillig@NetBSD.org
+HOMEPAGE= http://squirm.foote.com.au/
+COMMENT= Redirector for the Squid Internet Object Cache
+
+USE_TOOLS+= gmake
+GNU_CONFIGURE= yes
+CONFIGURE_DIRS= regex-0.12
+BUILD_DIRS= regex-0.12 .
+
+.include "../../mk/bsd.prefs.mk"
+
+SQUID_USER?= squid
+SQUID_GROUP?= squid
+PKG_USERS+= ${SQUID_USER}:${SQUID_GROUP}
+PKG_GROUPS+= ${SQUID_GROUP}
+BUILD_DEFS+= SQUID_USER SQUID_GROUP VARBASE
+
+PKG_SYSCONFSUBDIR= squirm
+EGDIR= ${PREFIX}/share/examples/squirm
+INSTALLATION_DIRS= bin ${EGDIR}
+OWN_DIRS_PERMS= ${VARBASE}/log/squirm ${SQUID_USER} ${SQUID_GROUP} ${PKGDIRMODE}
+CONF_FILES= ${EGDIR}/squirm.local.dist ${PKG_SYSCONFDIR}/squirm.local.dist
+CONF_FILES+= ${EGDIR}/squirm.patterns.dist ${PKG_SYSCONFDIR}/squirm.patterns.dist
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/squirm ${PREFIX}/bin/
+ cd ${WRKSRC} && ${INSTALL_DATA} squirm.local.dist squirm.patterns.dist ${EGDIR}/
+
+.include "../../mk/bsd.pkg.mk"