summaryrefslogtreecommitdiff
path: root/www/adzap
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
committerwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
commitb979f7222ad9bade13f010cd27e5bc6afab1681c (patch)
tree86f14acd24842161759a420487862022044c2b4b /www/adzap
parent6a13219ca89e5dae86f27159ff86006058c06859 (diff)
downloadpkgsrc-b979f7222ad9bade13f010cd27e5bc6afab1681c.tar.gz
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced, not @VARIABLE@, nor @@VARIABLE@@). By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX, X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST. Clean up some packages while I'm there; add RCS tags to most MESSAGEs. Remove some uninteresting MESSAGEs.
Diffstat (limited to 'www/adzap')
-rw-r--r--www/adzap/Makefile8
-rw-r--r--www/adzap/pkg/MESSAGE11
2 files changed, 7 insertions, 12 deletions
diff --git a/www/adzap/Makefile b/www/adzap/Makefile
index e82420b72d8..e18afe0d6e3 100644
--- a/www/adzap/Makefile
+++ b/www/adzap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/01/14 14:06:01 simonb Exp $
+# $NetBSD: Makefile,v 1.7 2001/01/29 11:34:44 wiz Exp $
#
DISTNAME= adzap-20010112
@@ -9,8 +9,6 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.zip.com.au/~cs/adzap/index.html
WRKSRC= ${WRKDIR}/adzap
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
-
NO_BUILD= # defined
USE_PERL5= # defined
@@ -32,8 +30,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/examples/adzap
.endfor
-post-install:
- ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' < ${PKGDIR}/MESSAGE \
- >${WRKDIR}/MESSAGE
-
.include "../../mk/bsd.pkg.mk"
diff --git a/www/adzap/pkg/MESSAGE b/www/adzap/pkg/MESSAGE
index aea725bb26b..5bd8cf07bd0 100644
--- a/www/adzap/pkg/MESSAGE
+++ b/www/adzap/pkg/MESSAGE
@@ -1,12 +1,13 @@
-$NetBSD: MESSAGE,v 1.2 2000/04/25 15:50:21 rh Exp $
-
==========================================================================
+$NetBSD: MESSAGE,v 1.3 2001/01/29 11:34:44 wiz Exp $
+
Adzap has now been installed. To get it up and running, copy
- @@PREFIX@@/share/examples/adzap/adzap.conf to /etc and modify
+ ${PREFIX}/share/examples/adzap/adzap.conf to /etc and modify
it to match your setup. Then edit your squid configuration and
- add @@PREFIX@@/libexec/adzap as your http-redirector.
+ add ${PREFIX}/libexec/adzap as your http-redirector.
If you run a web server, you can copy the *.{html,js,gif} files from
- @@PREFIX@@/share/examples/adzap to your htdocs tree and modify
+ ${PREFIX}/share/examples/adzap to your htdocs tree and modify
the web locations in /etc/adzap.conf accordingly.
+
==========================================================================