2003-07-28 10:28:59 +00:00
|
|
|
# New ports collection makefile for: GNU Backgammon
|
|
|
|
# Date created: 8 Dec 2002
|
|
|
|
# Whom: TAKAHASHI Kaoru <kaoru@kaisei.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gnubg
|
|
|
|
PORTVERSION= 0.13.0
|
2004-02-04 05:21:48 +00:00
|
|
|
PORTREVISION= 1
|
2003-07-28 10:28:59 +00:00
|
|
|
CATEGORIES= games
|
2003-11-06 07:50:27 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU_ALPHA} \
|
|
|
|
http://triaez.kaisei.org/~kaoru/misc/%SUBDIR%/
|
2003-10-31 02:39:30 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2003-07-28 10:28:59 +00:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz \
|
2003-12-19 09:28:06 +00:00
|
|
|
gnubg.weights-${GNUBG_WEIGHTS_VERSION}.gz
|
2003-07-28 10:28:59 +00:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
|
|
|
|
|
|
|
MAINTAINER= kaoru@kaisei.org
|
|
|
|
COMMENT= GNU Backgammon
|
|
|
|
|
2004-02-17 22:33:09 +00:00
|
|
|
BROKEN= "Broken pkg-plist"
|
|
|
|
DEPRECATED= ${BROKEN}
|
|
|
|
EXPIRATION_DATE=2004-04-17
|
|
|
|
|
2003-07-28 10:28:59 +00:00
|
|
|
MAN6= gnubg.6
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
2003-12-19 09:28:06 +00:00
|
|
|
USE_GNOME= gtk20
|
2003-07-28 10:28:59 +00:00
|
|
|
WANT_ESOUND= yes
|
|
|
|
|
|
|
|
.if defined(HAVE_ESOUND)
|
|
|
|
CONFIGURE_ARGS += --with-esound
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS += --without-esound
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_NAS)
|
|
|
|
CONFIGURE_ARGS += --enable-nas
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GUILE)
|
|
|
|
CONFIGURE_ARGS += --with-guile
|
|
|
|
.endif
|
|
|
|
|
2003-11-06 07:50:27 +00:00
|
|
|
INFO= gnubg
|
|
|
|
|
2003-07-28 10:28:59 +00:00
|
|
|
GNUBG_WEIGHTS_VERSION=0.13b
|
|
|
|
|
2003-12-19 09:28:06 +00:00
|
|
|
post-extract:
|
2003-07-28 10:28:59 +00:00
|
|
|
${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg.weights-${GNUBG_WEIGHTS_VERSION}.gz > ${WRKSRC}/gnubg.weights
|
|
|
|
|
2003-12-19 09:28:06 +00:00
|
|
|
post-build:
|
|
|
|
@(cd ${WRKSRC} && ./makebearoff -t 6x6 -f gnubg_ts0.bd)
|
|
|
|
|
2003-07-28 10:28:59 +00:00
|
|
|
.include <bsd.port.mk>
|