aboutsummaryrefslogtreecommitdiffstats
path: root/games/pipewalker/Makefile
blob: 45bcd6e712b960914e511989d3a8c0e3c133151b (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
# New ports collection makefile for:    pipewalker
# Date created:     11 Aug 2009
# Whom:         Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pipewalker
PORTVERSION=    0.7.2
CATEGORIES= games
MASTER_SITES=   SF
EXTRACT_SUFX=   -src.tar.gz

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    A clone of the NetWalk game

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

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

PORTDOCS=   *

post-patch:
    @${CHMOD} a+x ${WRKSRC}/install-sh
    @${REINPLACE_CMD} -e 's|(datadir)/games|(datadir)|' \
        ${WRKSRC}/data/Makefile.in ${WRKSRC}/src/Makefile.in
    @${REINPLACE_CMD} -e '/^install-data-am/ s|install-pkgmenudataDATA||' \
        ${WRKSRC}/extra/Makefile.in
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e '/^install-data-am/ s|install-pkgdocdataDATA||' \
        ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>