Tweak games/rubix version 1.0.6
[dports.git] / games / rubix / Makefile
1 # Created by: Will Andrews <andrews@technologist.com>
2 # $FreeBSD: games/rubix/Makefile 340722 2014-01-22 17:00:46Z mat $
3
4 PORTNAME=       rubix
5 PORTVERSION=    1.0.6
6 CATEGORIES=     games
7 MASTER_SITES=   http://sed.free.fr/rubix/ \
8                 http://mirror.mcx2.org/
9
10 MAINTAINER=     dhn@FreeBSD.org
11 COMMENT=        Another Rubik's cube game with a rather interesting interface
12
13 USE_BZIP2=      yes
14 USE_GMAKE=      yes
15 USE_XORG=       x11
16 MAKE_ARGS=      CC="${CC}" CFLAGS="${CFLAGS} -DENGLISH" \
17                 XINC="-I${LOCALBASE}/include" XLIB="-L${LOCALBASE}/lib -lX11"
18 ALL_TARGET=     ${PORTNAME}
19 USE_GCC=        any
20
21 PORTDOCS=       ${DOCFILES}
22 PLIST_FILES=    bin/rubix
23
24 DOCFILES=       AUTHORS BUGS INSTALL README TODO
25
26 NO_STAGE=       yes
27 .include <bsd.port.options.mk>
28
29 do-install:
30         ${INSTALL_PROGRAM} ${WRKSRC}/rubix ${PREFIX}/bin
31 .if ${PORT_OPTIONS:MDOCS}
32         @${MKDIR} ${DOCSDIR}
33 .for file in ${DOCFILES}
34         ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
35 .endfor
36 .endif
37
38 .include <bsd.port.mk>