From 6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 29 Jan 2001 11:34:21 +0000 Subject: 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. --- www/htdig/Makefile | 7 +------ www/htdig/pkg/MESSAGE | 11 ++++++++--- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'www/htdig') 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. + +====================================================================== -- cgit v1.2.3