summaryrefslogtreecommitdiffstats
path: root/games/2048-qt/Makefile
blob: 92177cce1b8062152c2ba4b91bdb9c5b941e7109 (plain)
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
# $FreeBSD$

PORTNAME=	2048-qt
PORTVERSION=	0.1.6
DISTVERSIONPREFIX=	v
CATEGORIES=	games

MAINTAINER=	swills@FreeBSD.org
COMMENT=	2048 game implemented in QT

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USE_GITHUB=	yes
GH_ACCOUNT=	xiaoyong
GH_PROJECT=	2048-Qt

USES=		gmake pkgconfig qmake
USE_QT5=	core gui network widgets qml quick buildtools_build quickcontrols

PLIST_FILES=	bin/2048-qt ${DESKTOPDIR}/${PORTNAME}.desktop \
		share/pixmaps/${PORTNAME}.png

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/2048-qt ${STAGEDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/res/icons/256x256/apps/2048-qt.png \
		${STAGEDIR}${PREFIX}/share/pixmaps/
	${INSTALL_DATA} ${WRKSRC}/res/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud