pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/openslp Use INSTALL_* instead of CP to set permiss...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4356555d6bb
branches:  trunk
changeset: 475150:e4356555d6bb
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon May 10 22:18:58 2004 +0000

description:
Use INSTALL_* instead of CP to set permission correctly.

diffstat:

 net/openslp/Makefile |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r c6fae6213158 -r e4356555d6bb net/openslp/Makefile
--- a/net/openslp/Makefile      Mon May 10 22:06:43 2004 +0000
+++ b/net/openslp/Makefile      Mon May 10 22:18:58 2004 +0000
@@ -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 @@
        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"



Home | Main Index | Thread Index | Old Index