summaryrefslogtreecommitdiff
path: root/net/ntp4
diff options
context:
space:
mode:
authorfredb <fredb>1999-07-29 19:06:05 +0000
committerfredb <fredb>1999-07-29 19:06:05 +0000
commit8bc0db15a201cea8401d437dc43c2f83dde48c1d (patch)
treef7a4cf9dad943b5b96bdc840fd1e3faccf502fd1 /net/ntp4
parentee233260c8d3307165703c4a96482a8787fecb19 (diff)
downloadpkgsrc-8bc0db15a201cea8401d437dc43c2f83dde48c1d.tar.gz
Eliminate absolute paths in MESSAGE file.
Diffstat (limited to 'net/ntp4')
-rw-r--r--net/ntp4/Makefile6
-rw-r--r--net/ntp4/pkg/MESSAGE15
2 files changed, 14 insertions, 7 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile
index 2d7ec3462d7..1e111d80377 100644
--- a/net/ntp4/Makefile
+++ b/net/ntp4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 1999/07/28 08:55:12 fredb Exp $
+# $NetBSD: Makefile,v 1.6 1999/07/29 19:06:05 fredb Exp $
#
DISTNAME= ntp-4.0.95
@@ -14,6 +14,7 @@ HOMEPAGE= http://www.ntp.org/
GNU_CONFIGURE= YES
DOCDIR= ${PREFIX}/share/doc
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
post-configure:
cd ${WRKSRC}; \
@@ -21,6 +22,9 @@ post-configure:
${MV} config.cache~ config.cache
@${MAKE} do-configure
+post-build:
+ ${SED} 's#@PREFIX@#${PREFIX}#g' < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
+
post-install:
cd ${WRKSRC}; \
${PAX} -r -w -s "/html/ntp4/" html ${DOCDIR}
diff --git a/net/ntp4/pkg/MESSAGE b/net/ntp4/pkg/MESSAGE
index 6e5f79c2d98..501c9dca36f 100644
--- a/net/ntp4/pkg/MESSAGE
+++ b/net/ntp4/pkg/MESSAGE
@@ -1,11 +1,14 @@
-THERE ARE NO MAN PAGES. Start browsing the installed docs at
+THERE ARE NO MAN PAGES. All installed documentation
+is accessible through
- file://usr/pkg/share/doc/ntp4/index.htm
+ file:/@PREFIX@/share/doc/ntp4/index.htm
-On the web, NTP's home is
+User to user support is available at
- http://www.eecis.udel.edu/~ntp/
+ news:comp.protocols.time.ntp
-User to user support is also available at
+and online docs are viewable through NTP's home at
- news:comp.protocols.time.ntp
+ http://www.ntp.org/
+or
+ http://www.eecis.udel.edu/~ntp/