# Created by: Kris Kennaway # $FreeBSD$ PORTNAME= 0verkill PORTVERSION= 0.16 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://artax.karlin.mff.cuni.cz/~brain/0verkill/release/ EXTRACT_SUFX= .tgz MAINTAINER= mich@FreeBSD.org COMMENT= 0verkill is a bloody 2D action Deathmatch-like game in ASCII-art LICENSE= GPLv2 GNU_CONFIGURE= yes OPTIONS_DEFINE= X11 DOCS OPTIONS_DEFAULT=X11 DOCS OPTIONS_SUB= yes X11_USE= XORG=xpm X11_CONFIGURE_WITH= x .include post-patch: @${REINPLACE_CMD} -e 's|data/|${DATADIR}/data/|g' ${WRKSRC}/cfg.h @${REINPLACE_CMD} -e 's|-O3 ||g ; \ s|gcc |\$$\(CC\) |g' ${WRKSRC}/Makefile.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/0verkill ${STAGEDIR}${PREFIX}/bin .for file in avi bot editor server test_server ${INSTALL_PROGRAM} ${WRKSRC}/${file} \ ${STAGEDIR}${PREFIX}/bin/0verkill-${file} .endfor .if ${PORT_OPTIONS:MX11} ${INSTALL_PROGRAM} ${WRKSRC}/x0verkill ${STAGEDIR}${PREFIX}/bin .for file in avi editor ${INSTALL_PROGRAM} ${WRKSRC}/x${file} \ ${STAGEDIR}${PREFIX}/bin/x0verkill-${file} .endfor .endif .for dir in data grx cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in AUTHORS README.html avi.txt bot.txt doc.html ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR} .endfor .include