summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authoratatat <atatat@pkgsrc.org>2003-01-27 17:24:08 +0000
committeratatat <atatat@pkgsrc.org>2003-01-27 17:24:08 +0000
commit74e8f7e3874b68d1f59b949c9646743c42cadda1 (patch)
tree145e5dafc3a6683c498b406764a0e926ea7ddabf /math
parentea6c918d919aae96c4dabb8b7fc42e0f09112e35 (diff)
downloadpkgsrc-74e8f7e3874b68d1f59b949c9646743c42cadda1.tar.gz
Properly install the xpm graphics that graphopt uses for the buttons.
Diffstat (limited to 'math')
-rw-r--r--math/graphopt/Makefile10
-rw-r--r--math/graphopt/PLIST11
2 files changed, 19 insertions, 2 deletions
diff --git a/math/graphopt/Makefile b/math/graphopt/Makefile
index 044dede7472..8929e5e4c38 100644
--- a/math/graphopt/Makefile
+++ b/math/graphopt/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/01/23 19:27:12 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2003/01/27 17:24:08 atatat Exp $
#
DISTNAME= graphopt-0.1
+PKGREVISION= 1
CATEGORIES= math graphics
MASTER_SITES= http://switch.dl.sourceforge.net/sourceforge/graphopt/
EXTRACT_SUFX= .tgz
@@ -16,6 +17,13 @@ GNU_CONFIGURE= YES
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/graphopt
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/graphopt
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/graphopt
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/graphopt/pixmaps
+.for xpm in new.xpm open.xpm save.xpm save_as.xpm export.xpm \
+ import.xpm quit.xpm
+ ${INSTALL_DATA} ${WRKSRC}/pixmaps/${xpm} \
+ ${PREFIX}/share/graphopt/pixmaps
+.endfor
.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/graphopt/PLIST b/math/graphopt/PLIST
index 21a5c58aaaa..895da1fa950 100644
--- a/math/graphopt/PLIST
+++ b/math/graphopt/PLIST
@@ -1,4 +1,13 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/01/23 19:27:12 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/01/27 17:24:08 atatat Exp $
bin/graphopt
share/doc/graphopt/README
@dirrm share/doc/graphopt
+share/graphopt/pixmaps/new.xpm
+share/graphopt/pixmaps/open.xpm
+share/graphopt/pixmaps/save.xpm
+share/graphopt/pixmaps/save_as.xpm
+share/graphopt/pixmaps/export.xpm
+share/graphopt/pixmaps/import.xpm
+share/graphopt/pixmaps/quit.xpm
+@dirrm share/graphopt/pixmaps
+@dirrm share/graphopt