summaryrefslogtreecommitdiff
path: root/net/ntp4
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2003-11-06 20:32:57 +0000
committerfredb <fredb@pkgsrc.org>2003-11-06 20:32:57 +0000
commit6d725bc73ff7ca2165ee9d7c096cc902bfb3a429 (patch)
tree0d3cdedb7ba5790bc30a8da36e565eec274b0dee /net/ntp4
parent4eea6e7e0775d7dcb271eff8763b944ab2d80baf (diff)
downloadpkgsrc-6d725bc73ff7ca2165ee9d7c096cc902bfb3a429.tar.gz
Update post-install target and MESSAGE for churn in the documentation,
and especially fix permissions on the new directories. Should close PR pkg/23378, by Wolfgang S. Rupprecht.
Diffstat (limited to 'net/ntp4')
-rw-r--r--net/ntp4/MESSAGE4
-rw-r--r--net/ntp4/Makefile17
2 files changed, 9 insertions, 12 deletions
diff --git a/net/ntp4/MESSAGE b/net/ntp4/MESSAGE
index 7643e7b4949..6a05a1ebc3b 100644
--- a/net/ntp4/MESSAGE
+++ b/net/ntp4/MESSAGE
@@ -1,10 +1,10 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.2 2002/09/24 12:30:26 wiz Exp $
+$NetBSD: MESSAGE,v 1.3 2003/11/06 20:32:57 fredb Exp $
THERE ARE NO MAN PAGES. All installed documentation
is accessible through
- file://localhost${PREFIX}/share/doc/html/ntp4/index.htm
+ file://localhost${PREFIX}/share/doc/html/ntp4/index.html
User to user support is available at
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile
index fd35adceba4..0b3a05b4064 100644
--- a/net/ntp4/Makefile
+++ b/net/ntp4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2003/11/01 00:52:50 kristerw Exp $
+# $NetBSD: Makefile,v 1.27 2003/11/06 20:32:57 fredb Exp $
#
DISTNAME= ntp-4.2.0
@@ -20,15 +20,12 @@ DOCDIR= ${PREFIX}/share/doc/html
EXAMPLESDIR= ${PREFIX}/share/examples
post-install:
- cd ${WRKSRC} && \
- ${RM} conf/.cvsignore* 2> /dev/null || ${TRUE}; \
- ${RM} html/.cvsignore* 2> /dev/null || ${TRUE}; \
- ${PAX} -rw -s "/html/ntp4/" html ${DOCDIR}; \
- ${PAX} -rw -s "/conf/ntp4/" conf ${EXAMPLESDIR}
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR}/ntp4 ${EXAMPLESDIR}/ntp4
- ${CHMOD} -R ${SHAREMODE} ${DOCDIR}/ntp4 ${EXAMPLESDIR}/ntp4
- ${CHMOD} a+x ${DOCDIR}/ntp4 ${DOCDIR}/ntp4/hints ${DOCDIR}/ntp4/pic
- ${CHMOD} a+x ${EXAMPLESDIR}/ntp4
+ cd ${WRKSRC} && \
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} conf html; \
+ ${FIND} conf html -type d -printx | ${XARGS} ${CHMOD} ${PKGDIRMODE}; \
+ ${FIND} conf html -type f -printx | ${XARGS} ${CHMOD} ${SHAREMODE}; \
+ ${PAX} -rw -pe -s "/html/ntp4/" html ${DOCDIR}; \
+ ${PAX} -rw -pe -s "/conf/ntp4/" conf ${EXAMPLESDIR}
.include "../../mk/bsd.prefs.mk"