diff options
Diffstat (limited to 'games/gnubg/Makefile')
-rw-r--r-- | games/gnubg/Makefile | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile index c2cc52b4eb71..3a297df73800 100644 --- a/games/gnubg/Makefile +++ b/games/gnubg/Makefile @@ -6,31 +6,30 @@ # PORTNAME= gnubg -PORTVERSION= 0.13.0 -PORTREVISION= 1 +PORTVERSION= 0.14.1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_GNU_ALPHA} \ http://triaez.kaisei.org/~kaoru/misc/%SUBDIR%/ MASTER_SITE_SUBDIR= ${PORTNAME} DISTFILES= ${DISTNAME}.tar.gz \ - gnubg.weights-${GNUBG_WEIGHTS_VERSION}.gz + gnubg.weights-${GNUBG_WEIGHTS_VERSION}.gz \ + gnubg_os0.bd.gz gnubg_ts0.bd.gz DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}.tar.gz MAINTAINER= kaoru@kaisei.org COMMENT= GNU Backgammon -BROKEN= "Broken pkg-plist" -DEPRECATED= ${BROKEN} -EXPIRATION_DATE=2004-04-17 - MAN6= gnubg.6 GNU_CONFIGURE= yes USE_GMAKE= yes -USE_GNOME= gtk20 +USE_GETTEXT= yes +USE_GNOME= libxml2 gtk20 WANT_ESOUND= yes +CONFIGURE_ARGS+= --with-x --with-gtk2 --enable-nls --with-timecontrol --without-board3d + .if defined(HAVE_ESOUND) CONFIGURE_ARGS += --with-esound .else @@ -39,20 +38,30 @@ CONFIGURE_ARGS += --without-esound .if defined(WITH_NAS) CONFIGURE_ARGS += --enable-nas +.else +CONFIGURE_ARGS += --disable-nas .endif .if defined(WITH_GUILE) CONFIGURE_ARGS += --with-guile +.else +CONFIGURE_ARGS += --without-guile +.endif + +.if defined(WITH_PYTHON) +USE_PYTHON= 2.0+ +CONFIGURE_ARGS += --with-python +.else +CONFIGURE_ARGS += --without-python .endif INFO= gnubg -GNUBG_WEIGHTS_VERSION=0.13b +GNUBG_WEIGHTS_VERSION=0.14 post-extract: ${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg.weights-${GNUBG_WEIGHTS_VERSION}.gz > ${WRKSRC}/gnubg.weights - -post-build: - @(cd ${WRKSRC} && ./makebearoff -t 6x6 -f gnubg_ts0.bd) + ${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg_os0.bd.gz > ${WRKSRC}/gnubg_os0.bd + ${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg_ts0.bd.gz > ${WRKSRC}/gnubg_ts0.bd .include <bsd.port.mk> |