aboutsummaryrefslogtreecommitdiff
path: root/games/gnubg
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-09-03 15:36:47 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-09-03 15:36:47 +0000
commita013c09d46a5e55e8760d4547ae0eb63127dab16 (patch)
treee908233f5f65b57c8318cfc7222cb5efff88f208 /games/gnubg
parentd7ac96202a7325ac2d3fa27d3d075728137fba80 (diff)
downloadports-a013c09d46a5e55e8760d4547ae0eb63127dab16.tar.gz
ports-a013c09d46a5e55e8760d4547ae0eb63127dab16.zip
- Enable 3D boards
- Update autotools dependency on automake 110 - Refactor Makefile - Fix PLIST - Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=219781
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