freebsd-ports/games/rubix/Makefile
Gerald Pfeifer 89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00

42 lines
1,008 B
Makefile

# Created by: Will Andrews <andrews@technologist.com>
# $FreeBSD$
PORTNAME= rubix
PORTVERSION= 1.0.6
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://sed.free.fr/rubix/ \
http://mirror.mcx2.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= Another Rubik's cube game with a rather interesting interface
BROKEN_powerpc64= Does not build
USES= compiler:nestedfct gmake tar:bzip2
USE_XORG= x11
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DENGLISH" \
XINC="-I${LOCALBASE}/include" XLIB="-L${LOCALBASE}/lib -lX11"
ALL_TARGET= ${PORTNAME}
PORTDOCS= AUTHORS BUGS INSTALL README TODO
PLIST_FILES= bin/rubix
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if (${ARCH} == mips || ${ARCH} == mips64) && ${COMPILER_TYPE} == gcc
CFLAGS+= -fnested-functions
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rubix ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.post.mk>