From 843ffba4364064283d39ad83eb81b85a32120e2b Mon Sep 17 00:00:00 2001 From: minskim Date: Tue, 15 Nov 2005 23:28:02 +0000 Subject: Use INSTALL_DATA instead of CP to set correct permission and ownership. --- print/tex-ucs/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'print') 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" -- cgit v1.2.3