diff options
author | minskim <minskim@pkgsrc.org> | 2005-11-15 23:28:02 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-11-15 23:28:02 +0000 |
commit | 843ffba4364064283d39ad83eb81b85a32120e2b (patch) | |
tree | aa13e9b6c552ee446a5c8207b6562bbf111a6b9d /print | |
parent | 73b1d7e48a0c0c3e657cb1521e0aea2b7980f98b (diff) | |
download | pkgsrc-843ffba4364064283d39ad83eb81b85a32120e2b.tar.gz |
Use INSTALL_DATA instead of CP to set correct permission and ownership.
Diffstat (limited to 'print')
-rw-r--r-- | print/tex-ucs/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/print/tex-ucs/Makefile b/print/tex-ucs/Makefile index 3b6cd4c5217..87147bc6cbe 100644 --- a/print/tex-ucs/Makefile +++ b/print/tex-ucs/Makefile @@ -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 @@ UCSDIR= ${PKG_LOCALTEXMFPREFIX}/tex/latex/ucs 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" |