freebsd-ports/games/jag/Makefile

36 lines
924 B
Makefile
Raw Normal View History

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= jag
2012-05-12 16:58:01 +02:00
PORTVERSION= 0.3.2
PORTREVISION= 3
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}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= 2D arcade-puzzle game like KDiamonds
2014-03-10 23:42:43 +01:00
USES= dos2unix qmake zip
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
USE_QT4= uic_build moc_build rcc_build \
corelib svg xml opengl network
2013-10-19 03:46:56 +02:00
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
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
@${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
.include <bsd.port.mk>