summaryrefslogtreecommitdiff
path: root/net/ntp4
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/ntp4
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/ntp4')
-rw-r--r--net/ntp4/Makefile6
-rw-r--r--net/ntp4/pkg/MESSAGE7
2 files changed, 7 insertions, 6 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile
index 5ab9d8a629d..1deb7c2d457 100644
--- a/net/ntp4/Makefile
+++ b/net/ntp4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2000/08/18 19:39:53 fredb Exp $
+# $NetBSD: Makefile,v 1.14 2001/01/29 11:34:37 wiz Exp $
#
DISTNAME= ntp-4.0.99k
@@ -17,10 +17,6 @@ CONFIGURE_ENV+= "LIBS=-ltermcap" # for ntpdc
DOCDIR= ${PREFIX}/share/doc
EXAMPLESDIR= ${PREFIX}/share/examples
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
-
-post-build:
- ${SED} 's|@PREFIX@|${PREFIX}|g' < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
post-install:
cd ${WRKSRC}; \
diff --git a/net/ntp4/pkg/MESSAGE b/net/ntp4/pkg/MESSAGE
index 501c9dca36f..97bcdd807dd 100644
--- a/net/ntp4/pkg/MESSAGE
+++ b/net/ntp4/pkg/MESSAGE
@@ -1,7 +1,10 @@
+======================================================================
+$NetBSD: MESSAGE,v 1.3 2001/01/29 11:34:37 wiz Exp $
+
THERE ARE NO MAN PAGES. All installed documentation
is accessible through
- file:/@PREFIX@/share/doc/ntp4/index.htm
+ file:/${PREFIX}/share/doc/ntp4/index.htm
User to user support is available at
@@ -12,3 +15,5 @@ and online docs are viewable through NTP's home at
http://www.ntp.org/
or
http://www.eecis.udel.edu/~ntp/
+
+======================================================================