aboutsummaryrefslogtreecommitdiffstats
path: root/games/excido/Makefile
blob: 7cbb6d6ef0cc290ae9b1a3d17860ac1367e9b369 (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
35
36
37
# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$

PORTNAME=   excido
PORTVERSION=    0.1.5c
PORTREVISION=   15
CATEGORIES= games
MASTER_SITES=   http://offload2.icculus.org:9090/excido/ \
        http://offload1.icculus.org:9090/excido/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= ports@FreeBSD.org
COMMENT=    Portable fast-paced 3D shooter

BROKEN=     unfetchable

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libphysfs.so:${PORTSDIR}/devel/physfs

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_GL=     yes
USE_SDL=    image sdl ttf
USES=       gmake openal:al,alut tar:bzip2

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/excido ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${DATADIR}
    (cd ${WRKSRC}/data ; ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>