games/chessx: cleanup

- USE_QT4=linguist_build -> USE_QT4=linguisttools_build.
- Remove qt4-xml dependency - it's not used here.
- Add LICENSE_FILE.
- Bump PORTREVISION.
- Fix portlint warnings:
  sort USES;
  use PLIST_FILES instead of pkg-plist;
  regenerate patch headers.

PR:                  201662
Submitted by:        s3erios@gmail.com
Approved by:         yamagi@yamagi.org (maintainer)
This commit is contained in:
Philip M. Gollucci 2015-08-12 00:12:20 +00:00
parent e86c459a92
commit 2bde476208
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393993
4 changed files with 13 additions and 10 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= chessx
PORTVERSION= 1.3.2
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
@ -9,12 +10,17 @@ MAINTAINER= yamagi@yamagi.org
COMMENT= Qt 4 chess database application
LICENSE= GPLv2 # (or later)
LICENSE_FILE= ${WRKSRC}/COPYING
USES= desktop-file-utils shared-mime-info qmake tar:tgz
USE_QT4= corelib gui svg xml network linguist_build \
USES= desktop-file-utils qmake shared-mime-info tar:tgz
USE_QT4= corelib gui svg network linguisttools_build \
moc_build qmake_build rcc_build uic_build
QMAKE_ARGS+= QMAKE_LRELEASE=${LRELEASE}
PLIST_FILES= bin/chessx \
share/applications/chessx.desktop \
share/pixmaps/chessx.png
OPTIONS_DEFINE= STOCKFISH CRAFTY
STOCKFISH_DESC= Install Stockfish Chess Engine

View File

@ -1,6 +1,6 @@
--- chessx.pro_orig 2014-03-21 10:53:31.321941038 +0100
+++ chessx.pro 2014-03-21 10:54:00.294938611 +0100
@@ -323,6 +323,15 @@
--- chessx.pro.orig 2015-05-05 13:46:26 UTC
+++ chessx.pro
@@ -393,6 +393,15 @@ macx {
QMAKE_INFO_PLIST = mac_osx/Info.plist
}

View File

@ -1,5 +1,5 @@
--- src/database/threadedguess.cpp_ 2015-05-06 10:23:39.570986205 +0200
+++ src/database/threadedguess.cpp 2015-05-06 10:24:33.855963312 +0200
--- src/database/threadedguess.cpp.orig 2015-04-28 18:00:47 UTC
+++ src/database/threadedguess.cpp
@@ -2,6 +2,7 @@
* Copyright (C) 2014 by Jens Nissen jens-chessx@gmx.net *
****************************************************************************/

View File

@ -1,3 +0,0 @@
bin/chessx
share/applications/chessx.desktop
share/pixmaps/chessx.png