aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnubg
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-09-03 23:36:47 +0800
committergahr <gahr@FreeBSD.org>2008-09-03 23:36:47 +0800
commit54aeb5ab6844ec309dbf586a528abc7b4dc6e047 (patch)
tree9a6bf73a9ea777b78058efab812d05b6e3095571 /games/gnubg
parentc082c4e8c91402fdcb2acd9c8e5ab53414705d64 (diff)
downloadfreebsd-ports-gnome-54aeb5ab6844ec309dbf586a528abc7b4dc6e047.tar.gz
freebsd-ports-gnome-54aeb5ab6844ec309dbf586a528abc7b4dc6e047.tar.zst
freebsd-ports-gnome-54aeb5ab6844ec309dbf586a528abc7b4dc6e047.zip
- Enable 3D boards
- Update autotools dependency on automake 110 - Refactor Makefile - Fix PLIST - Bump PORTREVISION
Diffstat (limited to 'games/gnubg')
-rw-r--r--games/gnubg/Makefile23
-rw-r--r--games/gnubg/pkg-plist1
2 files changed, 10 insertions, 14 deletions
diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile
index 3781782d13e7..36003c959865 100644
--- a/games/gnubg/Makefile
+++ b/games/gnubg/Makefile
@@ -7,13 +7,13 @@
PORTNAME= gnubg
PORTVERSION= 0.15
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.gnubg.org/media/sources/:src \
- ${MASTER_SITE_GNU_ALPHA}:ts
+ ${MASTER_SITE_GNU_ALPHA}:ts
MASTER_SITE_SUBDIR= ${PORTNAME}/:ts
DISTFILES= gnubg-source-MAIN-20070601.tar.gz:src \
- gnubg_ts0.bd.gz:ts
+ gnubg_ts0.bd.gz:ts
EXTRACT_ONLY= gnubg-source-MAIN-20070601.tar.gz
MAINTAINER= gahr@FreeBSD.org
@@ -21,16 +21,16 @@ COMMENT= GNU Backgammon
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \
- gdbm.3:${PORTSDIR}/databases/gdbm \
- gtkextra-x11-2.0.1:${PORTSDIR}/x11-toolkits/gtkextra2
+ gdbm.3:${PORTSDIR}/databases/gdbm \
+ gtkextra-x11-2.0.1:${PORTSDIR}/x11-toolkits/gtkextra2 \
+ gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
WRKSRC= ${WRKDIR}/gnubg
OPTIONS= ESOUND "Enable sound support" ON \
- NLS "Enable gettext support" ON
+ NLS "Enable gettext support" ON
-CONFIGURE_ARGS= --with-x --with-gtk2 --enable-nls --with-timecontrol \
- --without-board3d
+CONFIGURE_ARGS= --enable-nls --with-board3d
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
ac_cv_path_ARTSC_CONFIG=no ac_cv_path_LIBART_CONFIG=no
@@ -38,7 +38,7 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
USE_GNOME= gnomehack gnometarget libxml2
USE_GMAKE= yes
USE_PYTHON= 2.0+
-USE_AUTOTOOLS= libtool:15 automake:19
+USE_AUTOTOOLS= libtool:15 automake:110
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
@@ -71,11 +71,6 @@ LDFLAGS= -L${LOCALBASE}/lib
post-extract:
${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg_ts0.bd.gz > ${WRKSRC}/gnubg_ts0.bd
-post-patch:
-.for file in gnubg.c makebearoff.c makebearoff1.c makehyper.c
- ${REINPLACE_CMD} -e 's|"getopt\.h"|<getopt.h>|g' ${WRKSRC}/${file}
-.endfor
-
pre-configure:
cd ${WRKSRC} && ./autogen.sh
diff --git a/games/gnubg/pkg-plist b/games/gnubg/pkg-plist
index ce96a1be11b4..847ed5ed1156 100644
--- a/games/gnubg/pkg-plist
+++ b/games/gnubg/pkg-plist
@@ -210,6 +210,7 @@ bin/makehyper
%%DATADIR%%/gnubg_os0.bd
%%DATADIR%%/gnubg.game.sql
%%DATADIR%%/gnubg.gtkrc
+%%DATADIR%%/textures.txt
@dirrmtry share/locale/en_US/LC_MESSAGES
@dirrmtry share/locale/en_US
@dirrm %%DATADIR%%/textures