1 # Created by: Igor Pokrovsky <tiamat@comset.net>
8 MASTER_SITES= SF/sdl-dc/${PORTNAME}/1.0-2
10 MAINTAINER= ports@FreeBSD.org
11 COMMENT= Apogee's Rise Of The Triad source port
15 PATCH_WRKSRC= ${WRKSRC}/rott
16 # Crashes when compiling with -O2 or greater, so downgrade to -O1.
17 CFLAGS:= ${CFLAGS:C/-O[2-9]/-O1/}
22 @${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
25 .for f in rott rott-sw
26 ${INSTALL_PROGRAM} ${WRKSRC}/${f}/rott ${STAGEDIR}${PREFIX}/bin/${f}
28 @${MKDIR} ${STAGEDIR}${DOCSDIR}
29 ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
30 (cd ${WRKSRC}/rott && ${INSTALL_DATA} cheats.txt cmdline.txt \
31 ${STAGEDIR}${DOCSDIR})
33 .include <bsd.port.mk>