summaryrefslogtreecommitdiff
path: root/games/gnome-games/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnome-games/Makefile')
-rw-r--r--games/gnome-games/Makefile31
1 files changed, 26 insertions, 5 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile
index 7be695a5397..cda75f31ebc 100644
--- a/games/gnome-games/Makefile
+++ b/games/gnome-games/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.36 2002/05/12 00:28:23 rh Exp $
+# $NetBSD: Makefile,v 1.37 2002/07/14 00:12:40 rh Exp $
-DISTNAME= gnome-games-1.4.0.3
-PKGREVISION= 2
+DISTNAME= gnome-games-1.4.0.4
CATEGORIES= games gnome
-MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnome-games/}
+MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnome-games/}\
+ ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ${DISTNAME:S/s-/s-html-/}${EXTRACT_SUFX}
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.gnome.org/
@@ -20,7 +22,7 @@ CONFLICTS= xbill-[0-9]*
USE_GMAKE= YES
USE_X11BASE= YES
USE_LIBTOOL= YES
-LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
BUILD_USES_GETTEXT_M4= YES
GNU_CONFIGURE= YES
@@ -34,6 +36,12 @@ INSTALL_FILE= ${WRKDIR}/INSTALL
AUTOGEN_ENV= NOCONFIGURE=1
AUTOGEN_ENV+= srcdir=${WRKSRC}
+post-patch:
+ cd ${WRKSRC} && \
+ ${CP} gnect/src/connect4.c gnect/src/connect4.c.broken && \
+ ${SED} -e 's|/usr/share|${PREFIX}/share|' \
+ < gnect/src/connect4.c.broken > gnect/src/connect4.c
+
pre-configure:
cd ${WRKSRC} && ${SETENV} ${AUTOGEN_ENV} ${SH} macros/autogen.sh
@@ -41,6 +49,19 @@ post-build:
${SED} -e 's#@@INSTALL@@#${INSTALL}#' \
${PKGDIR}/INSTALL >${INSTALL_FILE}
+post-install:
+.for dir in gnome-stones/C gnome-stones/it
+ ${ECHO} "index.html Manual" >${PREFIX}/share/gnome/help/${dir}/topic.dat
+ ${CHMOD} 0644 ${PREFIX}/share/gnome/help/${dir}/topic.dat
+.endfor
+ ${LN} -s aisleriot ${PREFIX}/share/gnome/help/freecell
+ ${LN} -s . ${PREFIX}/share/gnome/help/gataxx/C/user-guide
+ ${LN} -s . ${PREFIX}/share/gnome/help/gataxx/es/user-guide
+ ${LN} -s . ${PREFIX}/share/gnome/help/gataxx/eu/user-guide
+ ${LN} -s . ${PREFIX}/share/gnome/help/gataxx/it/user-guide
+ ${LN} -s gnome-mines ${PREFIX}/share/gnome/help/gnomine
+ ${LN} -s same-gnome ${PREFIX}/share/gnome/help/samegnome
+
.include "../../devel/gettext-lib/buildlink.mk"
.include "../../devel/ncurses/buildlink.mk"
.include "../../x11/gnome-core/buildlink.mk"