2013-06-18 13:46:51 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
2009-07-06 15:21:52 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jag
|
2012-05-12 16:58:01 +02:00
|
|
|
PORTVERSION= 0.3.2
|
2014-12-08 17:48:38 +01:00
|
|
|
PORTREVISION= 3
|
2009-07-06 15:21:52 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://jag.xlabsoft.com/files/ \
|
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
2012-05-12 16:58:01 +02:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
${DISTNAME:C/src/data/}${EXTRACT_SUFX}
|
2009-07-06 15:21:52 +02:00
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2012-07-29 13:17:02 +02:00
|
|
|
COMMENT= 2D arcade-puzzle game like KDiamonds
|
2009-07-06 15:21:52 +02:00
|
|
|
|
2014-03-10 23:42:43 +01:00
|
|
|
USES= dos2unix qmake zip
|
2009-07-06 15:21:52 +02:00
|
|
|
USE_SDL= sdl mixer
|
2014-03-10 15:49:26 +01:00
|
|
|
DOS2UNIX_FILES= Game.pro
|
2013-09-14 05:06:04 +02:00
|
|
|
USE_XORG= x11
|
2013-11-22 19:48:31 +01:00
|
|
|
USE_QT4= uic_build moc_build rcc_build \
|
2009-07-06 15:21:52 +02:00
|
|
|
corelib svg xml opengl network
|
|
|
|
|
2013-10-19 03:46:56 +02:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
PORTDATA= *
|
|
|
|
|
2009-07-06 15:21:52 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local/games/jag|${DATADIR}|' \
|
2012-05-12 16:58:01 +02:00
|
|
|
${WRKSRC}/main.cpp ${WRKSRC}/Game.pro
|
2009-07-06 15:21:52 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Game.pro
|
|
|
|
|
2012-05-12 16:58:01 +02:00
|
|
|
post-install:
|
2013-10-19 03:46:56 +02:00
|
|
|
cd ${WRKDIR}/${DISTNAME:C/src/data/} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}/
|
2012-05-12 16:58:01 +02:00
|
|
|
|
2009-07-06 15:21:52 +02:00
|
|
|
.include <bsd.port.mk>
|