summaryrefslogtreecommitdiff
path: root/net/upclient
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/upclient
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/upclient')
-rw-r--r--net/upclient/Makefile8
-rw-r--r--net/upclient/pkg/MESSAGE7
2 files changed, 7 insertions, 8 deletions
diff --git a/net/upclient/Makefile b/net/upclient/Makefile
index 2b251fca546..44034fb68a5 100644
--- a/net/upclient/Makefile
+++ b/net/upclient/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/01/26 04:45:33 hubertf Exp $
+# $NetBSD: Makefile,v 1.7 2001/01/29 11:34:38 wiz Exp $
#
DISTNAME= upclient-4.09
@@ -10,7 +10,6 @@ MASTER_SITES= http://www.atomicvoid.net/uptimes/ \
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.uptimes.net/
-MESSAGE_FILE= ${WRKDIR}/.MESSAGE
ALL_TARGET= upclient
.if !defined(UPCLIENT_LOGIN) || \
@@ -19,11 +18,6 @@ ALL_TARGET= upclient
IS_INTERACTIVE= yes
.endif
-post-extract:
- ${SED} \
- -e 's|@PREFIX@|${PREFIX}|g' \
- ${PKGDIR}/MESSAGE >${MESSAGE_FILE}
-
post-patch:
${MV} ${WRKSRC}/upchk ${WRKSRC}/upchk.bak
${SED} \
diff --git a/net/upclient/pkg/MESSAGE b/net/upclient/pkg/MESSAGE
index 4bfad100d36..01ea137b3e2 100644
--- a/net/upclient/pkg/MESSAGE
+++ b/net/upclient/pkg/MESSAGE
@@ -1,2 +1,7 @@
-To start the Uptime Client, run the @PREFIX@/etc/rc.d/upclient.sh
+======================================================================
+$NetBSD: MESSAGE,v 1.4 2001/01/29 11:34:38 wiz Exp $
+
+To start the Uptime Client, run the ${PREFIX}/etc/rc.d/upclient
script either manually or via /etc/rc.local.
+
+======================================================================