aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnurobbo/Makefile
blob: 98b7090cb8b63d9cf22ad290b7a5f193bed2aa6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    gnurobbo
# Date created:     05 Mar 2009
# Whom:         Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gnurobbo
PORTVERSION=    0.66
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION:C/^([0-9]+\.[0-9]+)\..*$/\1/}/
EXTRACT_SUFX=   -source.tar.gz

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Reimplementation of LK Avalon's Robbo for the Atari XE/XL

USE_GMAKE=  yes
USE_SDL=    sdl ttf mixer image

MAKE_ENV=   PACKAGE_DATA_DIR="${DATADIR}" \
        BINDIR="${PREFIX}/bin" \
        DOCDIR="${DOCSDIR}"

PORTDOCS=   *

post-patch:
    @${REINPLACE_CMD} -e '/define DEBUG_DUMP_VM_USAGE/ d' ${WRKSRC}/game.c
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e '/DOCDIR/ d' ${WRKSRC}/Makefile
.endif

.include <bsd.port.mk>