2007-06-18 16:26:43 +02:00
|
|
|
# New ports collection makefile for: rottdc
|
|
|
|
# Date created: 18 Feb 2004
|
|
|
|
# Whom: Igor Pokrovsky <tiamat@comset.net>
|
2004-02-19 09:56:29 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= rottdc
|
2007-06-18 16:26:43 +02:00
|
|
|
DISTVERSION= 1.0-2
|
2012-02-18 11:18:33 +01:00
|
|
|
PORTREVISION= 6
|
2004-02-19 09:56:29 +01:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/sdl-dc/${PORTNAME}/1.0-2
|
2004-02-19 09:56:29 +01:00
|
|
|
|
2011-02-27 05:54:41 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-02-19 09:56:29 +01:00
|
|
|
COMMENT= Apogee's Rise Of The Triad source port
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_SDL= sdl mixer
|
2008-01-04 22:49:08 +01:00
|
|
|
PATCH_WRKSRC= ${WRKSRC}/rott
|
|
|
|
# Crashes when compiling with -O2 or greater, so downgrade to -O1.
|
|
|
|
CFLAGS:= ${CFLAGS:C/-O[2-9]/-O1/}
|
2004-02-19 09:56:29 +01:00
|
|
|
|
2008-01-04 22:49:08 +01:00
|
|
|
post-extract:
|
|
|
|
@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
|
2007-06-18 16:26:43 +02:00
|
|
|
|
2004-02-19 09:56:29 +01:00
|
|
|
do-install:
|
2008-01-04 22:49:08 +01:00
|
|
|
.for f in rott rott-sw
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${f}/rott ${PREFIX}/bin/${f}
|
|
|
|
.endfor
|
2004-02-19 09:56:29 +01:00
|
|
|
.ifndef (NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2008-01-04 22:49:08 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
2004-02-19 09:56:29 +01:00
|
|
|
.for i in cheats cmdline
|
2008-01-04 22:49:08 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/rott/${i}.txt ${DOCSDIR}
|
2004-02-19 09:56:29 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2008-01-04 22:49:08 +01:00
|
|
|
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
|
2004-02-19 09:56:29 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|