summaryrefslogtreecommitdiff
path: root/net/netsaint-base
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 /net/netsaint-base
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 'net/netsaint-base')
-rw-r--r--net/netsaint-base/Makefile5
-rw-r--r--net/netsaint-base/pkg/MESSAGE7
2 files changed, 5 insertions, 7 deletions
diff --git a/net/netsaint-base/Makefile b/net/netsaint-base/Makefile
index c3e943a626a..790b5b2e7ce 100644
--- a/net/netsaint-base/Makefile
+++ b/net/netsaint-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/01/16 16:23:07 rh Exp $
+# $NetBSD: Makefile,v 1.3 2001/01/29 11:34:36 wiz Exp $
#
DISTNAME= netsaint-0.0.6
@@ -13,13 +13,10 @@ DEPENDS+= gd>1.8.1:../../graphics/gd
.include "Makefile.common"
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
-
post-configure:
${SED} <${FILESDIR}/netsaint-setup.sh >${WRKDIR}/netsaint-setup.sh \
-e 's:@@USER@@:${NETSAINT_USER}:g' \
-e 's:@@GROUP@@:${NETSAINT_GROUP}:g'
- ${SED} -e 's:@@PREFIX@@:${PREFIX}:g' <${PKGDIR}/MESSAGE >${MESSAGE_FILE}
post-install:
cd ${WRKSRC} && ${MAKE} install-config
diff --git a/net/netsaint-base/pkg/MESSAGE b/net/netsaint-base/pkg/MESSAGE
index 37671b23bda..cf738de7a05 100644
--- a/net/netsaint-base/pkg/MESSAGE
+++ b/net/netsaint-base/pkg/MESSAGE
@@ -1,9 +1,9 @@
-$NetBSD: MESSAGE,v 1.1.1.1 2001/01/16 15:39:43 rh Exp $
-
==========================================================================
+$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:37 wiz Exp $
+
netsaint-base has now been installed. Before using this package for
the first time, you need to run 'netsaint-setup.sh' and then set up the
- configuration files in @@PREFIX@@/etc/netsaint (simply copy over the
+ configuration files in ${PREFIX}/etc/netsaint (simply copy over the
sample configuration files you find there and edit them accordingly).
If you want to use the web frontend, you need to make sure that the
@@ -14,4 +14,5 @@ $NetBSD: MESSAGE,v 1.1.1.1 2001/01/16 15:39:43 rh Exp $
Please note that without plug-ins, this package will not do anything
useful. It is therefore recommended to install the 'netsaint-plugins'
package as well.
+
==========================================================================