diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-01-10 14:59:50 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-01-10 14:59:50 +0000 |
commit | da1e417d8e55568af5407c158d89ac4ddd5aaa9e (patch) | |
tree | f56a9acd055f3b1e43439161a8819e14c73265a5 /games | |
parent | - Drop unneeded PLIST_DIRS (diff) |
- Clarify LICENSE
- Add LICENSE_FILE
- Drop unneeded PLIST_DIRS
- Switch to options helpers
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=405705
Diffstat (limited to 'games')
-rw-r--r-- | games/openpref/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/openpref/Makefile b/games/openpref/Makefile index 78122fdf34da..75c226a10a9b 100644 --- a/games/openpref/Makefile +++ b/games/openpref/Makefile @@ -10,7 +10,8 @@ MASTER_SITES= SF/${PORTNAME}/OpenPref-Qt4/${PORTNAME}-${PORTVERSION}/ MAINTAINER= annulen@yandex.ru COMMENT= Preferans game -LICENSE= GPLv3 +LICENSE= GPLv3 # or later +LICENSE_FILE= ${WRKSRC}/COPYING USES= qmake USE_QT4= corelib gui moc_build rcc_build uic_build @@ -19,14 +20,14 @@ 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;" "" +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${DATADIR}/i18n @@ -34,6 +35,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/pics/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |