# Created by: Konstantin Tokarev # $FreeBSD: head/games/openpref/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $ PORTNAME= openpref PORTVERSION= 0.1.3 PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/OpenPref-Qt4/${PORTNAME}-${PORTVERSION}/ MAINTAINER= annulen@yandex.ru COMMENT= Preferans game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= qmake USE_QT4= corelib gui moc_build rcc_build uic_build MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/${PORTNAME} \ %%DATADIR%%/i18n/${PORTNAME}_ru.qm \ share/pixmaps/${PORTNAME}.png PORTDOCS= AUTHORS BUGS NEWS README THANKS DESKTOP_ENTRIES="OpenPref" "" "${PORTNAME}" \ "${PORTNAME}" "Game;CardGame;" "" OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${DATADIR}/i18n ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}_ru.qm ${STAGEDIR}${DATADIR}/i18n/ ${INSTALL_DATA} ${WRKSRC}/pics/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include