summaryrefslogtreecommitdiff
path: root/www/wwwoffle/Makefile
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2005-11-01 12:22:24 +0000
committerabs <abs@pkgsrc.org>2005-11-01 12:22:24 +0000
commitceb456a94a7e2937bd7c2f69bd1c5ad9078d8b02 (patch)
treefc783e0afd2cd88ef7722379f924bbe96da79217 /www/wwwoffle/Makefile
parent5eed8698cb45f64d199f587a9634368609578861 (diff)
downloadpkgsrc-ceb456a94a7e2937bd7c2f69bd1c5ad9078d8b02.tar.gz
Update wwwoffle to wwwoffle-2.8enb1
- Use gzip rather than gtar to extract in PLIST (should really be an INSTALL script) - Fix some lines in MESSAGE to for pkglint
Diffstat (limited to 'www/wwwoffle/Makefile')
-rw-r--r--www/wwwoffle/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile
index 812f210e438..a0364782d0c 100644
--- a/www/wwwoffle/Makefile
+++ b/www/wwwoffle/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.56 2005/05/22 20:08:46 jlam Exp $
+# $NetBSD: Makefile,v 1.57 2005/11/01 12:22:24 abs Exp $
DISTNAME= wwwoffle-2.8e
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.gedanken.freeserve.co.uk/download-wwwoffle/ \
ftp://ftp.ibiblio.org/pub/Linux/apps/www/servers/
@@ -10,7 +11,7 @@ MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://www.gedanken.demon.co.uk/wwwoffle/
COMMENT= WWW proxy with support for offline browsing
-USE_TOOLS+= gmake gtar
+USE_TOOLS+= gmake gzip
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
@@ -18,7 +19,7 @@ CONFIGURE_ARGS+= --with-confdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-spooldir=${VARBASE}/wwwoffle
PKG_SYSCONFSUBDIR= wwwoffle
-PLIST_SUBST+= GTAR="${GTAR}"
+PLIST_SUBST+= GZIP_CMD="${GZIP_CMD}"
INSTALL_EXTRA_TMPL= ${PKGDIR}/INSTALL
RCD_SCRIPTS= wwwoffled
@@ -58,8 +59,8 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/conf/upgrade-config-2.x-2.5.pl \
${PREFIX}/sbin/wwwoffle-upgrade-config-2.x-2.5.pl
# Directories other than html and search are automatically created at run time
- ${GTAR} czCf / ${PREFIX}/libdata/wwwoffle-spool.tar.gz \
- var/wwwoffle/html var/wwwoffle/search
+ ${TAR} cCf / - var/wwwoffle/html var/wwwoffle/search | ${GZIP_CMD} -9 \
+ > ${PREFIX}/libdata/wwwoffle-spool.tar.gz
@${ECHO}
@${ECHO} ==+===+===+===+===+===+===+===+===+===+===+===+===+===+===+=
@${ECHO}