aboutsummaryrefslogtreecommitdiff
path: root/games/hexglass/Makefile
blob: 9242d28b5665bbec250f423fbde26cd34583c2f7 (plain) (blame)
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
31
32
33
34
35
36
37
38
# New ports collection makefile for:	hexglass
# Date created:		2010-12-17
# Whom:			Max Brazhnikov <makc@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	hexglass
PORTVERSION=	1.2.1
CATEGORIES=	games
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	makc@FreeBSD.org
COMMENT=	Tetris-like puzzle game based on a hexagonal grid

USE_QT_VER=	4
QT_COMPONENTS=	gui qmake_build moc_build rcc_build
HAS_CONFIGURE=	yes
MAKE_JOBS_SAFE=	yes

PLIST_FILES=	bin/${PORTNAME} \
		share/pixmaps/${PORTNAME}.xpm

DESKTOP_ENTRIES=	"HexGlass" "${COMMENT}" \
			"${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \
			"${PORTNAME}" "Application;BlocksGame;Game;" false

do-configure:
	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS}

do-install:
	${MKDIR} ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
	${MKDIR} ${PREFIX}/share/pixmaps
	${INSTALL_DATA} ${WRKSRC}/resources/logo512x512.xpm \
		${PREFIX}/share/pixmaps/${PORTNAME}.xpm

.include <bsd.port.mk>