2013-06-18 13:46:51 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
2009-04-03 01:45:10 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xorgramana
|
|
|
|
PORTVERSION= 0.0.8
|
2013-01-23 16:00:18 +01:00
|
|
|
PORTREVISION= 7
|
2009-04-03 01:45:10 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://www.jwm-art.net/XorGramana/ \
|
2009-07-28 18:34:36 +02:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2009-04-03 01:45:10 +02:00
|
|
|
DISTNAME= XorGramana-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= Logic word puzzle game set inside a series of mazes
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2013-10-17 02:01:16 +02:00
|
|
|
USES= gmake
|
2009-04-03 01:45:10 +02:00
|
|
|
USE_SDL= sdl image
|
|
|
|
USE_GL= glu
|
|
|
|
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
2013-06-18 13:46:51 +02:00
|
|
|
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
2013-10-17 02:01:16 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
PORTDATA= *
|
2009-04-03 01:45:10 +02:00
|
|
|
|
2009-09-11 23:57:40 +02:00
|
|
|
DESKTOP_ENTRIES="XorGramana" \
|
|
|
|
"Logic word puzzle game set inside a series of mazes" \
|
|
|
|
"${DATADIR}/GFX/x.png" \
|
|
|
|
"xorgramana" \
|
|
|
|
"Game;LogicGame;" \
|
|
|
|
false
|
|
|
|
|
2013-06-18 13:46:51 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2009-04-03 01:45:10 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|GFX/|${DATADIR}/&|' ${WRKSRC}/icons.c
|
|
|
|
|
|
|
|
do-install:
|
2013-10-17 02:01:16 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} "data GFX" ${STAGEDIR}${DATADIR}
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2009-04-03 01:45:10 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|