aboutsummaryrefslogtreecommitdiffstats
path: root/games/sea-defender/Makefile
blob: 449bf9c14a4f42ed1de040af77b05a20be18c3e3 (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
38
39
40
41
# New ports collection makefile for:    sea-defender
# Date created:     23 Jul 2010
# Whom:         Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   sea-defender
PORTVERSION=    r20100723
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   http://mirror.amdmi3.ru/distfiles/

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Simple missile command clone

BUILD_DEPENDS=  ${LOCALBASE}/lib/libglfw.a:${PORTSDIR}/graphics/glfw

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_SDL=    sdl mixer image ttf
USE_GL=     gl glu
USE_XORG=   x11 xrandr
MAKE_JOBS_SAFE= yes

SUB_FILES=  ${PORTNAME}.sh
PLIST_FILES=    libexec/${PORTNAME} bin/${PORTNAME}

WRKSRC=     ${WRKDIR}/${PORTNAME}

PORTDOCS=   README

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/sea ${PREFIX}/libexec/${PORTNAME}
    ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>