freebsd-ports/games/gnubik/Makefile
Mark Linimon ab9571ec7e MFH: r497642
Add compiler:c++11-lang to USES to fix the following on GCC-based
architectures:

  /usr/local/lib/libgraphite2.so.3: undefined reference to '__cxa_throw_bad_array_new_length@CXXABI_1.3.8'

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2019-04-03 06:16:57 +00:00

40 lines
835 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnubik
PORTVERSION= 2.4.3
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= GNU
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= 3D Rubik's cube game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libguile-2.0.so:lang/guile2 \
libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
GNU_CONFIGURE= yes
USES= compiler:c++11-lang gettext gl gmake localbase pkgconfig
USE_GNOME= gtk20
USE_GL= gl glu
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
INFO= gnubik
OPTIONS_DEFINE= DOCS
post-install:
${LN} -s ../icons/hicolor/32x32/apps/gnubik.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>