ddae4e92d8
Most USES use a colon for build/run(/test) suffixes. Change kde.mk, qt.mk and pyqt.mk to do the same, and update all ports using that. Document in CHANGES. PR: 266034 Exp-run by: antoine Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36349
33 lines
936 B
Makefile
33 lines
936 B
Makefile
PORTNAME= torrent-file-editor
|
|
PORTVERSION= 0.3.17
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= net-p2p
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= GUI tool for creating and editing .torrent files
|
|
WWW= https://torrent-file-editor.github.io/
|
|
|
|
LICENSE= GPLv3+
|
|
|
|
USES= cmake compiler:c++11-lang desktop-file-utils qt:5
|
|
USE_GITHUB= yes
|
|
USE_QT= buildtools:build linguisttools:build qmake:build \
|
|
core gui widgets
|
|
|
|
CMAKE_ARGS= -DQT5_BUILD:BOOL=ON \
|
|
-DENABLE_PCH:BOOL=OFF
|
|
|
|
OPTIONS_DEFINE= DONATION
|
|
OPTIONS_DEFAULT= DONATION
|
|
|
|
DONATION_DESC= Show donation text in the About dialog
|
|
DONATION_CMAKE_OFF= -DDISABLE_DONATION:BOOL=ON
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,const auto file,const auto \&file,' \
|
|
${WRKSRC}/bencodemodel.cpp ${WRKSRC}/mainwindow.cpp
|
|
# Avoid conflict with C++20 <version> by adding .txt suffix
|
|
@${REINPLACE_CMD} -i .c++20 '/file/s/version/&.txt/' \
|
|
${WRKSRC}/cmake/Dmg.cmake ${WRKSRC}/cmake/Version.cmake
|
|
|
|
.include <bsd.port.mk>
|