summaryrefslogtreecommitdiffstats
path: root/games/openpref/Makefile
blob: 825c939a58841fe133b7752b77d84baf07dde5e0 (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
31
32
33
34
# New ports collection makefile for:	openpref
# Date created:				2010-09-12
# Whom:					Konstantin Tokarev <annulen@yandex.ru>
#
# $FreeBSD$
#

PORTNAME=	openpref
PORTVERSION=	0.1.3
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	SF/${PORTNAME}/OpenPref-Qt4/${PORTNAME}-${PORTVERSION}

MAINTAINER=	annulen@yandex.ru
COMMENT=	Preferans game

USE_QT_VER=	4
QT_COMPONENTS=	corelib gui qmake_build moc_build rcc_build uic_build
HAS_CONFIGURE=	yes
MAKE_JOBS_UNSAFE=	yes

DESKTOP_ENTRIES="OpenPref" "${COMMENT}" "${DATADIR}/openpref.png" \
		"openpref" "Game;CardGame;" false

do-configure:
	@(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} )

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/openpref ${PREFIX}/bin
	${MKDIR} ${DATADIR}/i18n
	${INSTALL_DATA} ${WRKSRC}/openpref_ru.qm ${DATADIR}/i18n
	${INSTALL_DATA} ${WRKSRC}/pics/openpref.png ${DATADIR}

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