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

PORTNAME=	rezerwar
PORTVERSION=	0.4.2
PORTREVISION=	3
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

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

.include <bsd.port.mk>