mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
33ab73cd19
Pointy hat to: people who blindly use makeplist Sponsored by: Absolight
63 lines
1.4 KiB
Makefile
63 lines
1.4 KiB
Makefile
# Created by: TAKAHASHI Kaoru <kaoru@kaisei.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gnubg
|
|
PORTVERSION= 1.02.000
|
|
PORTREVISION= 2
|
|
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= png15:${PORTSDIR}/graphics/png \
|
|
gtkextra-x11-2.0.1:${PORTSDIR}/x11-toolkits/gtkextra2 \
|
|
gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
|
|
|
|
OPTIONS_DEFINE= ESOUND NLS
|
|
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 pathfix shebangfix
|
|
USE_PYTHON= yes
|
|
USE_AUTOTOOLS= libtool automake
|
|
GNU_CONFIGURE= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.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 <bsd.port.mk>
|