1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/games/openpref/Makefile
Rusmir Dusko 18771a8baf - Bump PORTREVISION, for LICENSE adding
- Add license (GPLv3)
- Change Desktop entry file
- Use PLIST_FILES and PLIST_DIRS instead of pkg-plist
- Add DOCS and Option
- Mute MKDIR
- Install icon in ${PREFIX}/share/pixmaps for Desktop entry file
- Add patch, fix build with Clang compiler [1]
- Change pkg-descr, use whitespace instead of tabulator

PR:		ports/188286
Submitted by:	pawel@ [1]
2014-04-21 22:03:34 +00:00

41 lines
1.0 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
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
PLIST_DIRS= %%DATADIR%%/i18n %%DATADIR%%
PORTDOCS= AUTHORS BUGS NEWS README THANKS
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="OpenPref" "" "${PORTNAME}" \
"${PORTNAME}" "Game;CardGame;" ""
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/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>