aboutsummaryrefslogtreecommitdiff
path: root/games/zatacka/Makefile
blob: 830a7a584e96e9e117ed936e08972710f4970f51 (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:	zatacka
# Date created:		26 Mar 2006
# Whom:			Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#

PORTNAME=	zatacka
PORTVERSION=	0.1.8
PORTREVISION=	7
CATEGORIES=	games
MASTER_SITES=	SF
DISTNAME=	${PORTNAME}-${PORTVERSION}_src

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Nibbles-like multiplayer game

USE_SDL=	sdl ttf image
USE_GMAKE=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
CONFIGURE_ARGS=	CPPFLAGS="-I${LOCALBASE}/include"
MAKE_JOBS_SAFE=	yes

DESKTOP_ENTRIES="Zatacka" \
		"Nibbles-like multiplayer game" \
		"" \
		"zatacka" \
		"Game;ArcadeGame;" \
		false

post-patch:
	@${REINPLACE_CMD} -e 's|__linux__|__FreeBSD__|; s|\[30\]|[PATH_MAX]|' \
		${WRKSRC}/src/main.cpp

.include <bsd.port.mk>