aboutsummaryrefslogtreecommitdiffstats
path: root/games/zaz/Makefile
blob: 30897b69ff50eb6f501524d434a6486c89e0a3fd (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:    zaz
# Date created:     25 Aug 2009
# Whom:         Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   zaz
PORTVERSION=    0.2.8
CATEGORIES= games
MASTER_SITES=   SF/${PORTNAME}

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    A puzzle game where the player has to arrange balls in triplets

LIB_DEPENDS=    freetype.9:${PORTSDIR}/print/freetype2 \
        theora.0:${PORTSDIR}/multimedia/libtheora \
        vorbis.4:${PORTSDIR}/audio/libvorbis \
        ftgl.2:${PORTSDIR}/graphics/ftgl

NO_CDROM=   Includes music under non-commercial license (CC-BY-NC-SA)

GNU_CONFIGURE=  yes
USE_SDL=    sdl image
USE_GL=     gl glu
MAKE_JOBS_SAFE= yes

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

PORTDOCS=   *

post-patch:
    @${REINPLACE_CMD} -e '/^zazdocdir =/ s|$${prefix}/doc|$${prefix}/share/doc|' \
        ${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-zazdocDATA||' \
        ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>