aboutsummaryrefslogtreecommitdiffstats
path: root/games/formido/Makefile
blob: 1920888c32322a0b4e25f9ea2eb14562883548c4 (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
34
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$

PORTNAME=   formido
PORTVERSION=    1.0.1
CATEGORIES= games
MASTER_SITES=   http://www.mhgames.org/files/formido/ \
        http://mirror.amdmi3.ru/distfiles/

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    2D kill-em all with 3D rendered graphics

LICENSE=    GPLv2

USE_SDL=    sdl mixer image
USES=       gmake
MAKE_ARGS=  CC="${CXX}" DATDIR="${DATADIR}" DEFCONFIGDIR="${DATADIR}"

PLIST_FILES=    bin/${PORTNAME}

PORTDATA=   *
PORTDOCS=   *

pre-build:
    @${MKDIR} ${WRKSRC}/obj

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
    cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
    ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg ${STAGEDIR}${DATADIR}/
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>