freebsd-ports/games/rottdc/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

33 lines
821 B
Makefile

# Created by: Igor Pokrovsky <tiamat@comset.net>
# $FreeBSD$
PORTNAME= rottdc
DISTVERSION= 1.0-2
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= SF/sdl-dc/${PORTNAME}/1.0-2
MAINTAINER= ports@FreeBSD.org
COMMENT= Apogee's Rise Of The Triad source port
USES= gmake tar:bzip2
USE_SDL= sdl mixer
PATCH_WRKSRC= ${WRKSRC}/rott
# Crashes when compiling with -O2 or greater, so downgrade to -O1.
CFLAGS:= ${CFLAGS:C/-O[2-9]/-O1/}
OPTIONS_DEFINE= DOCS
post-extract:
@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
do-install:
.for f in rott rott-sw
${INSTALL_PROGRAM} ${WRKSRC}/${f}/rott ${STAGEDIR}${PREFIX}/bin/${f}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/rott && ${INSTALL_DATA} cheats.txt cmdline.txt \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>