From 89ed14603ef6f82dc5fe599763f54b41a7727e26 Mon Sep 17 00:00:00 2001 From: jmmv Date: Tue, 18 Feb 2003 14:55:54 +0000 Subject: 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. --- games/gnome-chess/Makefile | 7 +++---- games/gnome-chess/PLIST | 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'games/gnome-chess') 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 -- cgit v1.2.3