diff options
author | agc <agc> | 2004-12-13 22:51:09 +0000 |
---|---|---|
committer | agc <agc> | 2004-12-13 22:51:09 +0000 |
commit | 64b661f99f209f60c0b635cde36c9724c81f705b (patch) | |
tree | e324500971d9d8a6433cd9f8a11cf40c4567c8dc | |
parent | 3fd8583908eab927703f0b64c0272b2190f8378c (diff) | |
download | pkgsrc-64b661f99f209f60c0b635cde36c9724c81f705b.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/Makefile | 18 |
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}) |