summaryrefslogtreecommitdiffstats
path: root/games/rubix/Makefile
blob: 911e36078c5a1f1022025c99d90b4b06ce5c949a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Created by: Will Andrews <andrews@technologist.com>
# $FreeBSD$

PORTNAME=	rubix
PORTVERSION=	1.0.6
CATEGORIES=	games
MASTER_SITES=	http://sed.free.fr/rubix/ \
		http://mirror.mcx2.org/

MAINTAINER=	dhn@FreeBSD.org
COMMENT=	Another Rubik's cube game with a rather interesting interface

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_XORG=	x11
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -DENGLISH" \
		XINC="-I${LOCALBASE}/include" XLIB="-L${LOCALBASE}/lib -lX11"
ALL_TARGET=	${PORTNAME}
USE_GCC=	any

PORTDOCS=	${DOCFILES}
PLIST_FILES=	bin/rubix

DOCFILES=	AUTHORS BUGS INSTALL README TODO

NO_STAGE=	yes

OPTIONS_DEFINE=	DOCS

.include <bsd.port.options.mk>

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/rubix ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
.for file in ${DOCFILES}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud