aboutsummaryrefslogtreecommitdiffstats
path: root/games/pipewalker/Makefile
blob: da52f69707f7598724e77adbd335b954d653db71 (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
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=   pipewalker
PORTVERSION=    0.9.4
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   SF

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

LICENSE=    GPLv3+
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libpng.so:graphics/png

USES=       desktop-file-utils localbase
GNU_CONFIGURE=  yes
USE_SDL=    sdl
USE_GL=     gl glu

PLIST_FILES=    bin/${PORTNAME} \
        share/applications/${PORTNAME}.desktop \
        share/pixmaps/${PORTNAME}.xpm
PORTDOCS=   *
PORTDATA=   *

OPTIONS_DEFINE= DOCS

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

.include <bsd.port.mk>