1314603f67
Changelog: https://github.com/Isarhamster/chessx/blob/master/ChangeLog.md Port changes: * Mark devel/qt5-concurrent as build dependency explicitly in USE_QT. * Strip installed binary as it's advised by ports QA. PR: 295235 Reported by: Alexey Vyskubov <alexey@pentode.fi> (maintainer) Approved by: osa, vvd (Mentors, implicit) MFH: 2026Q2
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
PORTNAME= chessx
|
|
DISTVERSION= 1.6.10
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
|
|
|
|
MAINTAINER= alexey@pentode.fi
|
|
COMMENT= Qt 5 chess database application
|
|
WWW= https://chessx.sourceforge.io/
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.md
|
|
|
|
USES= compiler:c++11-lang desktop-file-utils gl gmake qmake qt:5 tar:tgz
|
|
USE_GL= gl
|
|
USE_QT= concurrent:build core gui multimedia network printsupport svg \
|
|
widgets xml buildtools:build linguisttools:build
|
|
|
|
PLIST_FILES= bin/chessx \
|
|
share/applications/chessx.desktop \
|
|
share/pixmaps/chessx.png \
|
|
share/metainfo/io.sourceforge.ChessX.metainfo.xml \
|
|
share/icons/hicolor/128x128/apps/chessx.png \
|
|
share/icons/hicolor/32x32/apps/chessx-32.png \
|
|
share/icons/hicolor/64x64/apps/chessx-64.png
|
|
|
|
OPTIONS_DEFINE= CRAFTY STOCKFISH
|
|
|
|
CRAFTY_DESC= Install Crafty Chess Application
|
|
STOCKFISH_DESC= Install Stockfish Chess Engine
|
|
|
|
CRAFTY_RUN_DEPENDS= crafty:games/crafty
|
|
STOCKFISH_RUN_DEPENDS= stockfish:games/stockfish
|
|
|
|
post-extract:
|
|
@${MV} ${WRKDIR}/chessx-master ${WRKSRC}
|
|
|
|
post-configure:
|
|
( cd ${BUILD_WRKSRC} && ${LRELEASE} ${WRKSRC}/${PORTNAME}.pro )
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chessx
|
|
|
|
.include <bsd.port.mk>
|