1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/games/gnubg/Makefile
2014-12-25 20:54:41 +00:00

41 lines
1.1 KiB
Makefile

# Created by: TAKAHASHI Kaoru <kaoru@kaisei.org>
# $FreeBSD$
PORTNAME= gnubg
PORTVERSION= 1.04.000
PORTREVISION= 1
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= libpng.so:${PORTSDIR}/graphics/png \
libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext \
libcanberra-gtk.so:${PORTSDIR}/audio/libcanberra
CONFIGURE_ARGS= --with-board3d --with-sqlite --with-python=${LOCALBASE}/bin/python
CONFIGURE_ENV= ac_cv_path_ARTSC_CONFIG=no ac_cv_path_LIBART_CONFIG=no
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip
USES= gmake libtool pathfix shebangfix python pkgconfig compiler:c++11-lang
USE_GNOME= glib20
OPTIONS_DEFINE= NLS DOCS
OPTIONS_DEFAULT=NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>