summaryrefslogtreecommitdiff
path: root/net/openslp/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-05-10 22:18:58 +0000
committerminskim <minskim@pkgsrc.org>2004-05-10 22:18:58 +0000
commitd15e816f1e97ee5a076b5dbd63fac8faf47d6f3c (patch)
tree7fe138c20501f2bc22c23cd791cfee0380809c8f /net/openslp/Makefile
parent8cd76607365a278e50d58ce87a962a4d99b9e9de (diff)
downloadpkgsrc-d15e816f1e97ee5a076b5dbd63fac8faf47d6f3c.tar.gz
Use INSTALL_* instead of CP to set permission correctly.
Diffstat (limited to 'net/openslp/Makefile')
-rw-r--r--net/openslp/Makefile12
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"