mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
49915f4fbb
Approved by: portmgr@
39 lines
878 B
Makefile
39 lines
878 B
Makefile
# 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
|
|
|
|
USES= 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}
|
|
USE_GCC= any
|
|
|
|
PORTDOCS= ${DOCFILES}
|
|
PLIST_FILES= bin/rubix
|
|
|
|
DOCFILES= AUTHORS BUGS INSTALL README TODO
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rubix ${STAGEDIR}${PREFIX}/bin
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for file in ${DOCFILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|