2013-02-04 00:17:31 +00:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
2009-09-08 01:25:56 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= brikx
|
|
|
|
PORTVERSION= 0.4.5
|
2014-12-08 16:48:38 +00:00
|
|
|
PORTREVISION= 9
|
2009-09-08 01:25:56 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
|
|
|
|
# SF/brikx/Brikx/${PORTVERSION}
|
2014-04-04 10:13:00 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
2009-09-08 01:25:56 +00:00
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= Puzzle game - remove all tiles from the table
|
|
|
|
|
2019-11-08 10:47:01 +00:00
|
|
|
USES= sdl tar:bzip2
|
2009-09-08 01:25:56 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_SDL= sdl mixer image ttf
|
2019-06-21 16:13:26 +00:00
|
|
|
USE_CXXSTD= c++98
|
2009-09-08 01:25:56 +00:00
|
|
|
|
2013-10-19 02:00:10 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
PORTDATA= *
|
|
|
|
|
2009-09-08 01:25:56 +00:00
|
|
|
DESKTOP_ENTRIES="Brikx" \
|
|
|
|
"Puzzle game" \
|
|
|
|
"${DATADIR}/tilesets/stone/49.png" \
|
|
|
|
"brikx" \
|
|
|
|
"Game;LogicGame;" \
|
|
|
|
false
|
|
|
|
|
|
|
|
post-patch:
|
2014-04-04 10:13:00 +00:00
|
|
|
@${REINPLACE_CMD} -e '/\/-L\/-R\// d' ${WRKSRC}/configure
|
2009-09-08 01:25:56 +00:00
|
|
|
@${REINPLACE_CMD} -e '/DIR_DATA/ s|data/|${DATADIR}/|' \
|
|
|
|
${WRKSRC}/src/brikx.h
|
|
|
|
|
|
|
|
post-install:
|
2013-12-16 18:18:07 +00:00
|
|
|
cd ${WRKSRC}/src/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
|
2009-09-08 01:25:56 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|