mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Fix dependencies
- Jobs safe - license
This commit is contained in:
parent
e5166e09fc
commit
e4227f73c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342213
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= gnubg
|
||||
PORTVERSION= 1.02.000
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://www.c-s.li/ports/ \
|
||||
http://files.gnubg.org/media/sources/
|
||||
@ -11,27 +12,27 @@ DISTFILES= gnubg-release-${PORTVERSION}-sources.tar.gz
|
||||
MAINTAINER= cs@FreeBSD.org
|
||||
COMMENT= GNU Backgammon
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison
|
||||
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp \
|
||||
gdbm:${PORTSDIR}/databases/gdbm \
|
||||
png15:${PORTSDIR}/graphics/png \
|
||||
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
|
||||
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= 2.0+
|
||||
USE_PYTHON= yes
|
||||
USE_AUTOTOOLS= libtool automake
|
||||
GNU_CONFIGURE= yes
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
@ -50,18 +51,11 @@ PLIST_SUB+= NLS="@comment "
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
|
||||
CONFIGURE_ARGS+= --disable-sse
|
||||
.endif
|
||||
|
||||
INFO= gnubg
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|bin\/bash|${PREFIX}bin\/bash|g' ${WRKSRC}/scripts/query_player.sh
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ./autogen.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user