aboutsummaryrefslogtreecommitdiffstats
path: root/games/rubix/Makefile
blob: 943c601228708acb51d32ef169033c9f943081cb (plain) (blame)
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
# New ports collection makefile for:    rubix
# Date created:     19 Nov 1999
# Whom:         Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

PORTNAME=   rubix
PORTVERSION=    1.0.4
CATEGORIES= games
MASTER_SITES=   http://sed.free.fr/rubix/

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

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GMAKE=  yes
ALL_TARGET= ${PORTNAME}
MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS} -DENGLISH" \
        XINC="-I${X11BASE}/include" XLIB="-L${X11BASE}/lib -lX11"

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/rubix ${PREFIX}/bin
.if !defined(NOPORTDOCS)
.for file in AUTHORS BUGS INSTALL README TODO
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>