2000-01-03 21:17:40 +01:00
|
|
|
# New ports collection makefile for: rubix
|
|
|
|
# Date created: 19 Nov 1999
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 14:28:40 +02:00
|
|
|
PORTNAME= rubix
|
2004-05-09 20:13:38 +02:00
|
|
|
PORTVERSION= 1.0.5
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2000-01-03 21:17:40 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://sed.free.fr/rubix/
|
|
|
|
|
2000-06-22 07:52:15 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= Another Rubik's cube game with a rather interesting interface
|
2000-01-03 21:17:40 +01:00
|
|
|
|
2003-12-04 11:12:01 +01:00
|
|
|
USE_BZIP2= yes
|
2000-01-03 21:17:40 +01:00
|
|
|
USE_X_PREFIX= yes
|
2000-12-26 16:14:32 +01:00
|
|
|
USE_GMAKE= yes
|
2003-12-07 16:58:55 +01:00
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DENGLISH" \
|
|
|
|
XINC="-I${X11BASE}/include" XLIB="-L${X11BASE}/lib -lX11"
|
2004-05-09 20:13:38 +02:00
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
|
|
|
|
PORTDOCS= ${DOCFILES}
|
|
|
|
PLIST_FILES= bin/rubix
|
|
|
|
|
|
|
|
DOCFILES= AUTHORS BUGS INSTALL README TODO
|
2000-01-03 21:17:40 +01:00
|
|
|
|
|
|
|
do-install:
|
2000-12-26 16:14:32 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rubix ${PREFIX}/bin
|
2000-01-03 21:17:40 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-12-04 11:12:01 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-05-09 20:13:38 +02:00
|
|
|
.for file in ${DOCFILES}
|
2003-12-04 11:12:01 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
2000-01-03 21:17:40 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|