mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
e3bcfdd230
OpenPref is an open source implementation of European trick-taking game Preferans (also known as Preference). It is written using cross-platform Qt4 framework and is portable between many operating systems including Windows and major Unix flavours. WWW: http://openpref.sourceforge.net PR: based on ports/150509 Submitted by: Konstantin Tokarev <annulen at yandex.ru>
34 lines
884 B
Makefile
34 lines
884 B
Makefile
# New ports collection makefile for: openpref
|
|
# Date created: 2010-09-12
|
|
# Whom: Konstantin Tokarev <annulen@yandex.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= openpref
|
|
PORTVERSION= 0.1.3
|
|
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>
|