summaryrefslogtreecommitdiff
path: root/games/gnome-games
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-12-12 14:59:13 +0000
committerwiz <wiz@pkgsrc.org>2001-12-12 14:59:13 +0000
commit5c813d6a0ecc2b4305a3aabc4403edf2d99336a8 (patch)
tree6a4c96caebcf710286cd73e95563fc5f5fa23af5 /games/gnome-games
parent5f18835b9d847efad31933732b56adff6b2b5b6f (diff)
downloadpkgsrc-5c813d6a0ecc2b4305a3aabc4403edf2d99336a8.tar.gz
Use PKGLOCALEDIR instead of local hack, use ncurses and gettext-lib
buildlink.mks instead of USE_CURSES and USE_LIBINTL. XXX: guile needs to be buildlinkified before this package can be strongly buildlinked.
Diffstat (limited to 'games/gnome-games')
-rw-r--r--games/gnome-games/Makefile27
-rw-r--r--games/gnome-games/distinfo4
-rw-r--r--games/gnome-games/patches/patch-ad4
3 files changed, 10 insertions, 25 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile
index 6901f95595d..96a71ca6182 100644
--- a/games/gnome-games/Makefile
+++ b/games/gnome-games/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2001/11/29 19:46:11 jlam Exp $
+# $NetBSD: Makefile,v 1.34 2001/12/12 14:59:13 wiz Exp $
DISTNAME= gnome-games-1.4.0.3
CATEGORIES= games gnome
@@ -18,16 +18,15 @@ CONFLICTS= xbill-[0-9]*
USE_GMAKE= YES
USE_X11BASE= YES
-USE_CURSES= YES
USE_LIBTOOL= YES
-USE_LIBINTL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
BUILD_USES_GETTEXT_M4= YES
GNU_CONFIGURE= YES
-CONFIGURE_ENV+= LOCALEDIR=${LOCALEDIR}
+CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
CONFIGURE_ARGS+= --localstatedir=/var
-CFLAGS+= -I${LOCALBASE}/include
+
+USE_CONFIG_WRAPPER= YES
INSTALL_FILE= ${WRKDIR}/INSTALL
@@ -41,21 +40,7 @@ post-build:
${SED} -e 's#@@INSTALL@@#${INSTALL}#' \
${PKGDIR}/INSTALL >${INSTALL_FILE}
-.include "../../mk/bsd.prefs.mk"
-
-# The directory in which locale files are found is:
-#
-# ${PREFIX}/${LOCALEDIR}/locale/<lang>/LC_MESSAGES
-#
-.if ${OPSYS} == "SunOS"
-LOCALEDIR= lib
-.else
-LOCALEDIR= share
-.endif
-
-.if ${NEED_NCURSES} == "YES"
-CONFIGURE_ARGS+=--with-ncurses=${LOCALBASE}
-.endif
-
+.include "../../devel/gettext-lib/buildlink.mk"
+.include "../../devel/ncurses/buildlink.mk"
.include "../../x11/gnome-core/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/gnome-games/distinfo b/games/gnome-games/distinfo
index c16908aefcb..a3b7a05d8dc 100644
--- a/games/gnome-games/distinfo
+++ b/games/gnome-games/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.5 2001/10/07 15:25:39 rh Exp $
+$NetBSD: distinfo,v 1.6 2001/12/12 14:59:14 wiz Exp $
SHA1 (gnome-games-1.4.0.3.tar.bz2) = 1e2232aab41a53004db5b0e3eaf69896ad430f29
Size (gnome-games-1.4.0.3.tar.bz2) = 7052953 bytes
SHA1 (patch-aa) = 888cf35c192d70e2edd1e4f656b69eac25c2e88a
SHA1 (patch-ab) = a65a783eca7102c3ecb5352f7ce855b75434388b
SHA1 (patch-ac) = 71cf86496f6a8cf5f3291a7e046704e3ed0855ed
-SHA1 (patch-ad) = cd4342eb8b024c47fdc6020fe32426d3a85dfd89
+SHA1 (patch-ad) = df442b8054ab515e32c6ce667d5ebb8af1342b8c
SHA1 (patch-ae) = 585442dc89430094211d598af63095ba7a99a055
SHA1 (patch-af) = c370320ef670b855d0400245015527942b90f5da
diff --git a/games/gnome-games/patches/patch-ad b/games/gnome-games/patches/patch-ad
index c5ec11ef853..5e23969307c 100644
--- a/games/gnome-games/patches/patch-ad
+++ b/games/gnome-games/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.3 2001/02/13 11:47:01 tron Exp $
+$NetBSD: patch-ad,v 1.4 2001/12/12 14:59:14 wiz Exp $
--- aclocal.m4.orig Sun May 21 23:56:34 2000
+++ aclocal.m4 Thu Nov 9 18:58:34 2000
@@ -7,7 +7,7 @@ $NetBSD: patch-ad,v 1.3 2001/02/13 11:47:01 tron Exp $
DATADIRNAME=share],
[CATOBJEXT=.mo
- DATADIRNAME=lib])
-+ DATADIRNAME=${LOCALEDIR}])
++ DATADIRNAME=${PKGLOCALEDIR}])
INSTOBJEXT=.mo
fi
fi