aboutsummaryrefslogtreecommitdiff
path: root/games/brikx/Makefile
blob: 57921e2a055ee3bbcc0df5cddb2040433668393a (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
39
40
41
# New ports collection makefile for:	brikx
# Date created:		07 Sep 2009
# Whom:			Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	brikx
PORTVERSION=	0.4.5
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	http://mirror.amdmi3.ru/distfiles/
#		SF/brikx/Brikx/${PORTVERSION}
EXTRACT_SUFX=	-src.tar.bz2

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Puzzle game - remove all tiles from the table

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_SDL=	sdl mixer image ttf
MAKE_JOBS_SAFE=	yes

DESKTOP_ENTRIES="Brikx" \
		"Puzzle game" \
		"${DATADIR}/tilesets/stone/49.png" \
		"brikx" \
		"Game;LogicGame;" \
		false

WRKSRC=		${WRKDIR}/${PORTNAME}

post-patch:
	@${REINPLACE_CMD} -e '/DIR_DATA/ s|data/|${DATADIR}/|' \
		${WRKSRC}/src/brikx.h

post-install:
	${MKDIR} ${DATADIR}
	cd ${WRKSRC}/src/data && ${COPYTREE_SHARE} "*" ${DATADIR}/

.include <bsd.port.mk>