diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2015-08-12 08:12:20 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2015-08-12 08:12:20 +0800 |
commit | 1f01d64e720f25c3998189264a14a93c229080d5 (patch) | |
tree | b8bfa5798547f61a11d953de6b99ed5f3ab8e3d0 /games | |
parent | d4ff65b9cb1619b7cb9c0d166de4c0df41308b61 (diff) | |
download | freebsd-ports-gnome-1f01d64e720f25c3998189264a14a93c229080d5.tar.gz freebsd-ports-gnome-1f01d64e720f25c3998189264a14a93c229080d5.tar.zst freebsd-ports-gnome-1f01d64e720f25c3998189264a14a93c229080d5.zip |
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)
Diffstat (limited to 'games')
-rw-r--r-- | games/chessx/Makefile | 10 | ||||
-rw-r--r-- | games/chessx/files/patch-chessx.pro | 6 | ||||
-rw-r--r-- | games/chessx/files/patch-src__database__threadedguess.cpp | 4 | ||||
-rw-r--r-- | games/chessx/pkg-plist | 3 |
4 files changed, 13 insertions, 10 deletions
diff --git a/games/chessx/Makefile b/games/chessx/Makefile index 4f467203f0e2..854394505823 100644 --- a/games/chessx/Makefile +++ b/games/chessx/Makefile @@ -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 diff --git a/games/chessx/files/patch-chessx.pro b/games/chessx/files/patch-chessx.pro index 70362b9dcb5b..abdfd853a6dc 100644 --- a/games/chessx/files/patch-chessx.pro +++ b/games/chessx/files/patch-chessx.pro @@ -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 } diff --git a/games/chessx/files/patch-src__database__threadedguess.cpp b/games/chessx/files/patch-src__database__threadedguess.cpp index be5c336f91ea..cfa9b816da2b 100644 --- a/games/chessx/files/patch-src__database__threadedguess.cpp +++ b/games/chessx/files/patch-src__database__threadedguess.cpp @@ -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 * ****************************************************************************/ diff --git a/games/chessx/pkg-plist b/games/chessx/pkg-plist deleted file mode 100644 index 8fe4d6ea7906..000000000000 --- a/games/chessx/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/chessx -share/applications/chessx.desktop -share/pixmaps/chessx.png |