summaryrefslogtreecommitdiff
path: root/games/gnome-chess
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-02-18 14:55:54 +0000
committerjmmv <jmmv>2003-02-18 14:55:54 +0000
commit89ed14603ef6f82dc5fe599763f54b41a7727e26 (patch)
tree26f00e45e25757159b4808978c93e8b672cac4c4 /games/gnome-chess
parentac84fe1226d95f9ffa3d0916a0deaedefac45c4e (diff)
downloadpkgsrc-89ed14603ef6f82dc5fe599763f54b41a7727e26.tar.gz
Use the omf.mk file provided by the scrollkeeper package to automatically
rebuild the documentation database at install/deinstall time. This means that: - PLIST's do not need to call scrollkeeper-{update,rebuilddb} directly; this is done by a bsd.pkg.install.mk template. - The share/omf directory is only removed by scrollkeeper, which is the last package in the dependancy tree. - PKGREVISION is bumped. Reviewed by wiz.
Diffstat (limited to 'games/gnome-chess')
-rw-r--r--games/gnome-chess/Makefile7
-rw-r--r--games/gnome-chess/PLIST5
2 files changed, 5 insertions, 7 deletions
diff --git a/games/gnome-chess/Makefile b/games/gnome-chess/Makefile
index f2fba7d4efa..877d37c93cf 100644
--- a/games/gnome-chess/Makefile
+++ b/games/gnome-chess/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2002/12/24 06:10:02 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2003/02/18 14:55:58 jmmv Exp $
DISTNAME= gnome-chess-0.3.3
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-chess/0.3/}
@@ -13,9 +13,8 @@ USE_BUILDLINK2= yes
USE_PKGLOCALEDIR= yes
USE_X11BASE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --localstatedir=${SCROLLKEEPER_DATADIR}
-.include "../../textproc/scrollkeeper/buildlink2.mk"
+.include "../../textproc/scrollkeeper/omf.mk"
.include "../../x11/gnome-core/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/gnome-chess/PLIST b/games/gnome-chess/PLIST
index 3d754d714f0..2b370a84e71 100644
--- a/games/gnome-chess/PLIST
+++ b/games/gnome-chess/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2002/12/01 02:00:14 salo Exp $
+@comment $NetBSD: PLIST,v 1.4 2003/02/18 14:55:58 jmmv Exp $
bin/gnome-chess
share/gnome-chess/glade/level.glade
share/gnome-chess/glade/login.glade
@@ -71,11 +71,10 @@ share/pixmaps/gnome-chess/r.png
share/pixmaps/gnome-chess/start.png
@dirrm share/pixmaps/gnome-chess
@dirrm share/omf/gnome-chess
+@comment in scrollkeeper: @dirrm share/omf
@dirrm share/gnome/help/gnome-chess-manual/C/stylesheet-images
@dirrm share/gnome/help/gnome-chess-manual/C/figures
@dirrm share/gnome/help/gnome-chess-manual/C
@dirrm share/gnome/help/gnome-chess-manual
@dirrm share/gnome-chess/glade
@dirrm share/gnome-chess
-@unexec scrollkeeper-rebuilddb
-@exec scrollkeeper-rebuilddb