Tweak games/rubix version 1.0.6
[dports.git] / games / rubix / Makefile
1 # Created by: Will Andrews <andrews@technologist.com>
2 # $FreeBSD$
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
28 OPTIONS_DEFINE= DOCS
29
30 .include <bsd.port.options.mk>
31
32 do-install:
33         ${INSTALL_PROGRAM} ${WRKSRC}/rubix ${PREFIX}/bin
34 .if ${PORT_OPTIONS:MDOCS}
35         @${MKDIR} ${DOCSDIR}
36 .for file in ${DOCFILES}
37         ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
38 .endfor
39 .endif
40
41 .include <bsd.port.mk>