diff options
author | minskim <minskim> | 2004-05-10 22:18:58 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-05-10 22:18:58 +0000 |
commit | 1fc54bbefe0d0f9a3bd7df13e4bd0f87883c9e2a (patch) | |
tree | 7fe138c20501f2bc22c23cd791cfee0380809c8f /net | |
parent | 0127e0a8c1c23ac008ed02f6c42e3de3aef02f36 (diff) | |
download | pkgsrc-1fc54bbefe0d0f9a3bd7df13e4bd0f87883c9e2a.tar.gz |
Use INSTALL_* instead of CP to set permission correctly.
Diffstat (limited to 'net')
-rw-r--r-- | net/openslp/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/net/openslp/Makefile b/net/openslp/Makefile index ed6012324f3..5877e0866c4 100644 --- a/net/openslp/Makefile +++ b/net/openslp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2004/01/06 07:08:50 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2004/05/10 22:18:58 minskim Exp $ DISTNAME= openslp-1.0.11 CATEGORIES= net @@ -40,9 +40,11 @@ post-install: cd ${WRKSRC}/etc; for file in ${CONFS}; do \ ${INSTALL_DATA} $${file} ${EGDIR}/$${file}; \ done - cd ${WRKSRC}/doc; ${CP} -R rfc/* ${DOCDIR} - cd ${WRKSRC}/doc; ${CP} -R html/* ${HTMLDIR} - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR} ${HTMLDIR} - ${CHMOD} -R a+rx,a-w ${DOCDIR} ${HTMLDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/rfc/* ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${HTMLDIR} + for d in IntroductionToSLP ProgrammersGuide UsersGuide; do \ + ${INSTALL_DATA_DIR} ${HTMLDIR}/$${d}; \ + ${INSTALL_DATA} ${WRKSRC}/doc/html/$${d}/* ${HTMLDIR}/$${d}; \ + done .include "../../mk/bsd.pkg.mk" |