aboutsummaryrefslogtreecommitdiffstats
path: root/games/flyhard/Makefile
blob: 0c94374addbc1eb74e0ae861f762dc752ff0186d (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
# New ports collection makefile for:    flyhard
# Date created:     15 Jan 2007
# Whom:         Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#

PORTNAME=   flyhard
PORTVERSION=    0.42
CATEGORIES= games
MASTER_SITES=   http://www.markboyd.me.uk/games/flyhard/ \
        http://mirror.amdmi3.ru/distfiles/

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Game resembling Thrust, but with lots of shooting and puzzles

LIB_DEPENDS=    png.5:${PORTSDIR}/graphics/png
BUILD_DEPENDS=  ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_SDL=    sdl mixer

CONFIGURE_ENV=  LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" \
        CPPFLAGS="-I${LOCALBASE}/include"

PORTDOCS=   README

.if !defined(NOPORTDOCS)
post-install:
    ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>