mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
b1a1d38bf9
From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Konstantin Tokarev <annulen@yandex.ru>
|
|
# $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 <bsd.port.mk>
|