summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoragc <agc>2004-12-13 22:51:09 +0000
committeragc <agc>2004-12-13 22:51:09 +0000
commit64b661f99f209f60c0b635cde36c9724c81f705b (patch)
treee324500971d9d8a6433cd9f8a11cf40c4567c8dc /graphics
parent3fd8583908eab927703f0b64c0272b2190f8378c (diff)
downloadpkgsrc-64b661f99f209f60c0b635cde36c9724c81f705b.tar.gz
Make this package work better on platforms where the install utility can
only take one file to be installed.
Diffstat (limited to 'graphics')
-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})