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

PORTNAME=   rezerwar
PORTVERSION=    0.4.2
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   http://tamentis.com/projects/rezerwar/files/ \
        http://mirror.amdmi3.ru/distfiles/

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Puzzle game involving organizing blocks with pipes

USES=       gmake
USE_SDL=    sdl mixer
HAS_CONFIGURE=  yes
CONFIGURE_ARGS= Unix
CONFIGURE_ENV=  TARGET_BIN=${PREFIX}/bin \
        TARGET_DOC=${DOCSDIR} \
        TARGET_DATA=${DATADIR}

PLIST_FILES=    bin/${PORTNAME}
PORTDOCS=   *
PORTDATA=   *

OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS

post-patch:
    @${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/configure

.include <bsd.port.mk>