diff options
author | fredb <fredb@pkgsrc.org> | 2003-11-06 20:32:57 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2003-11-06 20:32:57 +0000 |
commit | 2d7ee8c6ba9adb7c5dfb6a3aa025f5ec77a1dfd3 (patch) | |
tree | 0d3cdedb7ba5790bc30a8da36e565eec274b0dee /net/ntp4/Makefile | |
parent | 5cddfa9836b13fbb305e9db09eb0f1201186c54a (diff) | |
download | pkgsrc-2d7ee8c6ba9adb7c5dfb6a3aa025f5ec77a1dfd3.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/Makefile')
-rw-r--r-- | net/ntp4/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
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" |