summaryrefslogtreecommitdiff
path: root/net/ddclient
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/ddclient
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/ddclient')
-rw-r--r--net/ddclient/Makefile7
-rw-r--r--net/ddclient/pkg/MESSAGE7
2 files changed, 6 insertions, 8 deletions
diff --git a/net/ddclient/Makefile b/net/ddclient/Makefile
index dce7f653db7..f70fcc36f18 100644
--- a/net/ddclient/Makefile
+++ b/net/ddclient/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/09/03 12:36:55 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2001/01/29 11:34:35 wiz Exp $
#
DISTNAME= ddclient-2.3.1
@@ -10,11 +10,6 @@ HOMEPAGE= http://burry.net/ddclient
NO_BUILD= yes
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
-
-pre-install:
- ${SED} -e "s,@PREFIX@,${PREFIX},g" ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
-
do-install:
${SED} \
-e 's,@LOCALBASE@,${LOCALBASE},g' \
diff --git a/net/ddclient/pkg/MESSAGE b/net/ddclient/pkg/MESSAGE
index d5c2c022fa5..6aefbfd4ff6 100644
--- a/net/ddclient/pkg/MESSAGE
+++ b/net/ddclient/pkg/MESSAGE
@@ -1,6 +1,9 @@
-$NetBSD: MESSAGE,v 1.2 2000/09/03 12:36:55 wiz Exp $
+======================================================================
+$NetBSD: MESSAGE,v 1.3 2001/01/29 11:34:35 wiz Exp $
1. Please register at http://www.dyndns.org/
-2. Copy @PREFIX@/etc/ddclient.conf-example to @PREFIX@/etc/ddclient.conf
+2. Copy ${PREFIX}/etc/ddclient.conf-example to ${PREFIX}/etc/ddclient.conf
and adjust to your needs.
+
+======================================================================