# Created by: Konstantin Tokarev # $FreeBSD$ 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 qt:4 USE_QT= 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