summaryrefslogtreecommitdiff
path: root/www/htdig
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/htdig
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/htdig')
-rw-r--r--www/htdig/Makefile7
-rw-r--r--www/htdig/pkg/MESSAGE11
2 files changed, 9 insertions, 9 deletions
diff --git a/www/htdig/Makefile b/www/htdig/Makefile
index e6f63bc2e5d..5f22f29ca5c 100644
--- a/www/htdig/Makefile
+++ b/www/htdig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2000/02/29 23:31:32 hubertf Exp $
+# $NetBSD: Makefile,v 1.7 2001/01/29 11:34:45 wiz Exp $
#
DISTNAME= htdig-3.1.5
@@ -17,11 +17,6 @@ CONFIGURE_ARGS= --with-cgi-bin-dir=${PREFIX}/libexec/cgi-bin \
--with-search-dir=${PREFIX}/share/examples/htdig
CONFIGURE_ENV= CPPFLAGS=-I${PREFIX}/include/db2
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
-
-post-build:
- ${SED} 's#@PREFIX@#${PREFIX}#g' < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
-
post-install:
if [ ! -f ${PREFIX}/etc/htdig/htdig.conf ]; then \
${CP} ${PREFIX}/share/examples/htdig/htdig.conf ${PREFIX}/etc/htdig/; \
diff --git a/www/htdig/pkg/MESSAGE b/www/htdig/pkg/MESSAGE
index 9503eb70e0d..fdb88fb8586 100644
--- a/www/htdig/pkg/MESSAGE
+++ b/www/htdig/pkg/MESSAGE
@@ -1,10 +1,15 @@
+======================================================================
+$NetBSD: MESSAGE,v 1.3 2001/01/29 11:34:46 wiz Exp $
+
A sample ht://Dig config file has been installed to
-@PREFIX@/etc/htdig/htdig.conf, unless that file existed already.
-The sample @PREFIX@/bin/rundig script may be run to create a database
+${PREFIX}/etc/htdig/htdig.conf, unless that file existed already.
+The sample ${PREFIX}/bin/rundig script may be run to create a database
in the newly created empty directory, /var/db/htdig. A sample search
form, which may be used to search that database, has been installed to
-@PREFIX@/share/examples/htdig/search.html.
+${PREFIX}/share/examples/htdig/search.html.
For an example of how to set up ht://Dig and integrate it with your web site,
you may wish to examine the scripts installed into
/var/wwwoffle/html/htdig/scripts by the www/wwwoffle package.
+
+======================================================================