aboutsummaryrefslogtreecommitdiffstats
path: root/games/triplane/Makefile
blob: 4174fcee0f4de19ef06bf538f3b6458a8f7f1ab7 (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
# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
# $FreeBSD$

PORTNAME=   triplane
PORTVERSION=    1.08.r20130224
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
        SF/${PORTNAME}
DISTNAME=   ${PORTNAME}-classic-${PORTVERSION}

MAINTAINER= martymac@FreeBSD.org
COMMENT=    Port of the original Triplane Turmoil game

LICENSE=    GPLv3

USES=       gmake
USE_SDL=    sdl mixer
WRKSRC=     ${WRKDIR}/${DISTNAME}

CFLAGS+=    -DTRIPLANE_DATA=\\\"${DATADIR}\\\"
MAKE_ENV=   DATADIR="${DATADIR}"

# ALL_TARGET="depend all" would not work in -jX case due to races
pre-build:
    ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${BUILD_WRKSRC} ${MAKE_ARGS} depend

.include <bsd.port.mk>