2000-10-26 02:05:13 +00:00
|
|
|
# New ports collection makefile for: Magic Cube 4D
|
|
|
|
# Date Created: September 25, 2000
|
|
|
|
# Whom: Jeremy <karlj000@unbc.ca>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= magiccube4d
|
2003-07-06 21:12:36 +00:00
|
|
|
PORTVERSION= 2.2
|
2000-10-26 02:05:13 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://www.superliminal.com/cube/
|
2001-08-24 13:16:43 +00:00
|
|
|
DISTNAME= mc4d-src-${PORTVERSION:S/./_/}
|
2000-10-26 02:05:13 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= karlj000@unbc.ca
|
2003-07-06 21:12:36 +00:00
|
|
|
COMMENT= MagicCube4D is a four-dimensional analog of Rubik's cube
|
2000-10-26 02:05:13 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2004-10-08 05:30:52 +00:00
|
|
|
USE_REINPLACE= yes
|
2000-10-26 02:05:13 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2001-08-24 13:16:43 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION:S/./_/}
|
2003-07-06 21:12:36 +00:00
|
|
|
DOCS= ChangeLog Intro.txt MagicCube4D-unix.txt \
|
|
|
|
ideas.txt readme-unix.txt
|
2000-10-26 02:05:13 +00:00
|
|
|
|
2004-10-08 05:30:52 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's/stickers)()/stickers)(0)/' \
|
|
|
|
${WRKSRC}/EventHandler.cpp
|
2004-09-19 01:05:44 +00:00
|
|
|
|
2000-10-26 02:05:13 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/magiccube4d ${PREFIX}/bin
|
2003-07-06 21:12:36 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${INSTALL} -d -m 0755 ${DOCSDIR}
|
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2000-10-26 02:05:13 +00:00
|
|
|
|
2004-10-08 05:30:52 +00:00
|
|
|
.include <bsd.port.mk>
|