pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/magicpoint Make this package work better on p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/35f31f3988c5
branches:  trunk
changeset: 485486:35f31f3988c5
user:      agc <agc%pkgsrc.org@localhost>
date:      Mon Dec 13 22:51:09 2004 +0000

description:
Make this package work better on platforms where the install utility can
only take one file to be installed.

diffstat:

 graphics/magicpoint/Makefile |  18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diffs (33 lines):

diff -r 2e960d6b1093 -r 35f31f3988c5 graphics/magicpoint/Makefile
--- a/graphics/magicpoint/Makefile      Mon Dec 13 21:14:12 2004 +0000
+++ b/graphics/magicpoint/Makefile      Mon Dec 13 22:51:09 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2004/11/30 17:29:30 taca Exp $
+# $NetBSD: Makefile,v 1.42 2004/12/13 22:51:09 agc Exp $
 
 DISTNAME=              magicpoint-1.10a
 PKGREVISION=           4
@@ -54,14 +54,16 @@
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mgp
-       cd ${WRKSRC}; \
-       ${INSTALL_DATA} COPYRIGHT COPYRIGHT.jp FAQ \
-               README README.fonts README.fonts.jp README.lang \
-               SYNTAX USAGE USAGE.jp ${PREFIX}/share/doc/mgp
+       cd ${WRKSRC};                                                   \
+               for f in COPYRIGHT COPYRIGHT.jp FAQ README README.fonts \
+                       README.fonts.jp README.lang SYNTAX USAGE USAGE.jp; do \
+                       ${INSTALL_DATA} $$f ${PREFIX}/share/doc/mgp;    \
+               done
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mgp
-       cd ${WRKSRC}/sample; \
-       ${INSTALL_DATA} README* *.jpg *.eps *.mgp *.xbm mgprc-sample \
-               ${PREFIX}/share/examples/mgp
+       cd ${WRKSRC}/sample;                                            \
+               for f in README* *.jpg *.eps *.mgp *.xbm mgprc-sample; do \
+                       ${INSTALL_DATA} $$f ${PREFIX}/share/examples/mgp; \
+               done
 
 .for engine pkg in ${MGP_RENDERING_ENGINES}
 .  if !empty(PKG_OPTIONS:M${engine})



Home | Main Index | Thread Index | Old Index