1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/games/magiccube4d/Makefile
Florent Thoumie 340b57f8be - Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2009-01-23 16:28:36 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: Magic Cube 4D
# Date Created: September 25, 2000
# Whom: Jeremy <karlj000@unbc.ca>
#
# $FreeBSD$
#
PORTNAME= magiccube4d
PORTVERSION= 2.2
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://www.superliminal.com/cube/
DISTNAME= mc4d-src-${PORTVERSION:S/./_/}
EXTRACT_SUFX= .tgz
MAINTAINER= karlj000@unbc.ca
COMMENT= MagicCube4D is a four-dimensional analog of Rubik's cube
USE_XORG= x11 xext xt sm ice xaw
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION:S/./_/}
DOCS= ChangeLog Intro.txt MagicCube4D-unix.txt \
ideas.txt readme-unix.txt
post-patch:
@${REINPLACE_CMD} -e 's/stickers)()/stickers)(0)/' \
${WRKSRC}/EventHandler.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/magiccube4d ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${INSTALL} -d -m 0755 ${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN= Does not compile with GCC 4.2
.endif
.endif
.include <bsd.port.post.mk>