summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2004-12-13 22:51:09 +0000
committeragc <agc@pkgsrc.org>2004-12-13 22:51:09 +0000
commita0c283e28c037d1ead3ce6d7f71d326e5f585e49 (patch)
treee324500971d9d8a6433cd9f8a11cf40c4567c8dc
parentf553ea2000e66364632671d90b36f1d63390c319 (diff)
downloadpkgsrc-a0c283e28c037d1ead3ce6d7f71d326e5f585e49.tar.gz
Make this package work better on platforms where the install utility can
only take one file to be installed.
-rw-r--r--graphics/magicpoint/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/graphics/magicpoint/Makefile b/graphics/magicpoint/Makefile
index 977800134d9..8723bc52d41 100644
--- a/graphics/magicpoint/Makefile
+++ b/graphics/magicpoint/Makefile
@@ -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 @@ pre-install:
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})