freebsd-ports/net-p2p/torrent-file-editor/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

35 lines
965 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= torrent-file-editor
PORTVERSION= 0.3.14
PORTREVISION= 1
CATEGORIES= net-p2p
MASTER_SITES= SF/${PORTNAME}/v${PORTVERSION}
MAINTAINER= danfe@FreeBSD.org
COMMENT= Qt-based GUI tool for creating and editing .torrent files
LICENSE= GPLv3
USES= cmake compiler:c++11-lang desktop-file-utils qt:5
USE_QT= buildtools_build linguisttools_build qmake_build \
core gui widgets
CMAKE_ARGS= -DQT5_BUILD:BOOL=ON
OPTIONS_DEFINE= DONATION
OPTIONS_DEFAULT= DONATION
DONATION_DESC= Show donation text in the About dialog
DONATION_CMAKE_OFF= -DDISABLE_DONATION:BOOL=ON
post-patch:
# Fix apparently forgotten version bump
@${REINPLACE_CMD} -e '/APP_VERSION/s,0\.3\.13,${PORTVERSION},' \
${WRKSRC}/CMakeLists.txt
# Avoid conflict with C++20 <version> by adding .txt suffix
@${REINPLACE_CMD} -i .c++20 '/file/s/version/&.txt/' \
${WRKSRC}/Version.cmake ${WRKSRC}/Dmg.cmake
.include <bsd.port.mk>