From 74e8f7e3874b68d1f59b949c9646743c42cadda1 Mon Sep 17 00:00:00 2001 From: atatat Date: Mon, 27 Jan 2003 17:24:08 +0000 Subject: Properly install the xpm graphics that graphopt uses for the buttons. --- math/graphopt/Makefile | 10 +++++++++- math/graphopt/PLIST | 11 ++++++++++- 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 -- cgit v1.2.3