# Created by: TAKAHASHI Kaoru # $FreeBSD$ PORTNAME= gnubg PORTVERSION= 1.02.000 PORTREVISION= 4 CATEGORIES= games MASTER_SITES= http://www.c-s.li/ports/ \ http://files.gnubg.org/media/sources/ DISTFILES= gnubg-release-${PORTVERSION}-sources.tar.gz MAINTAINER= cs@FreeBSD.org COMMENT= GNU Backgammon LICENSE= GPLv3 BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison RUN_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3 LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ libgtkextra-x11-2.0.so:${PORTSDIR}/x11-toolkits/gtkextra2 \ libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext OPTIONS_DEFINE= ESOUND NLS DOCS OPTIONS_DEFAULT=ESOUND NLS CONFIGURE_ARGS= --with-board3d --with-sqlite --with-python CONFIGURE_ENV= ac_cv_path_ARTSC_CONFIG=no ac_cv_path_LIBART_CONFIG=no INSTALLS_ICONS= yes USE_GNOME= libxml2 USES= gmake libtool pathfix shebangfix USE_PYTHON= yes USE_AUTOTOOLS= automake libtoolize GNU_CONFIGURE= yes .include .if ${PORT_OPTIONS:MESOUND} USE_GNOME+= esound .else CONFIGURE_ENV+= ac_cv_path_AUDIOFILE_CONFIG=no ac_cv_path_ESD_CONFIG=no .endif .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" CONFIGURE_ARGS+= --enable-nls .else PLIST_SUB+= NLS="@comment " CONFIGURE_ARGS+= --disable-nls .endif INFO= gnubg CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib pre-configure: cd ${WRKSRC} && ./autogen.sh .include