pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/tex-ucs Use INSTALL_DATA instead of CP to set co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97bcd22b60aa
branches:  trunk
changeset: 503201:97bcd22b60aa
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Nov 15 23:28:02 2005 +0000

description:
Use INSTALL_DATA instead of CP to set correct permission and ownership.

diffstat:

 print/tex-ucs/Makefile |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 48dc997e3e2c -r 97bcd22b60aa print/tex-ucs/Makefile
--- a/print/tex-ucs/Makefile    Tue Nov 15 22:16:45 2005 +0000
+++ b/print/tex-ucs/Makefile    Tue Nov 15 23:28:02 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/11/13 04:14:31 minskim Exp $
+# $NetBSD: Makefile,v 1.6 2005/11/15 23:28:02 minskim Exp $
 #
 
 DISTNAME=      unicode
@@ -23,10 +23,10 @@
 
 do-install:
        ${INSTALL_DATA_DIR} ${UCSDIR}
-       (cd ${WRKSRC} && \
-        for f in ${UCSFILES}; do \
-        ${INSTALL_DATA} $$f ${UCSDIR};  \
-        done)
-       ${CP} -r ${WRKSRC}/data ${UCSDIR}
+.for f in ${UCSFILES}
+       ${INSTALL_DATA} ${WRKSRC}/${f} ${UCSDIR}
+.endfor
+       ${INSTALL_DATA_DIR} ${UCSDIR}/data
+       ${INSTALL_DATA} ${WRKSRC}/data/* ${UCSDIR}/data/
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index