git: 7313c9e08209 - main - net-p2p/transmission-components: Improve Makefile
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Jun 2024 15:53:28 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=7313c9e0820987ef94f6648bb12bdd19819480ef commit 7313c9e0820987ef94f6648bb12bdd19819480ef Author: Rafe <mondo.debater_0q@icloud.com> AuthorDate: 2024-06-09 17:27:38 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2024-06-10 15:53:12 +0000 net-p2p/transmission-components: Improve Makefile Pet linters. --- net-p2p/transmission-components/Makefile | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/net-p2p/transmission-components/Makefile b/net-p2p/transmission-components/Makefile index 1bbacf6566ff..5721bd03a91f 100644 --- a/net-p2p/transmission-components/Makefile +++ b/net-p2p/transmission-components/Makefile @@ -1,6 +1,6 @@ PORTNAME= transmission DISTVERSION= 4.0.6 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ @@ -13,8 +13,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float \ ${LOCALBASE}/include/fmt/format.h:devel/libfmt \ - ${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp \ - ${LOCALBASE}/include/rapidjson/rapidjson.h:devel/rapidjson + ${LOCALBASE}/include/rapidjson/rapidjson.h:devel/rapidjson \ + ${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp LIB_DEPENDS= libb64.so:converters/libb64 \ libcurl.so:ftp/curl \ @@ -83,7 +83,6 @@ USES= cpe tar:xz USES= cpe tar:xz NO_ARCH= yes NO_BUILD= yes -#PORTDATA= public_html .endif CMAKE_ON= USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \ @@ -109,14 +108,14 @@ CMAKE_OFF+= ENABLE_CLI ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB .endif .if ${FLAVOR} == gtk -CMAKE_ON+= ENABLE_GTK GTK_IS_REQUIRED CMAKE_ARGS+= -DUSE_GTK_VERSION=3 +CMAKE_ON+= ENABLE_GTK GTK_IS_REQUIRED CMAKE_OFF+= ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB .endif .if ${FLAVOR} == qt -CMAKE_ON+= ENABLE_QT QT_IS_REQUIRED CMAKE_ARGS+= -DUSE_QT_VERSION=5 +CMAKE_ON+= ENABLE_QT QT_IS_REQUIRED CMAKE_OFF+= ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB .endif @@ -128,16 +127,15 @@ CMAKE_OFF+= ENABLE_CLI ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_TESTS \ OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME}/${FLAVOR}-options -.if ${FLAVOR:Mdaemon} -OPTIONS_DEFINE= NLS TESTS -OPTIONS_DEFAULT= NLS +.if ${FLAVOR:Mdocs} +OPTIONS_DEFINE= .endif -.if ${FLAVOR:Mdocs} +.if ${FLAVOR:Mweb} OPTIONS_DEFINE= .endif -.if ${FLAVOR:Ndaemon} && ${FLAVOR:Ndocs} +.if ${FLAVOR:Nweb} && ${FLAVOR:Ndocs} OPTIONS_DEFINE= NLS TESTS OPTIONS_DEFAULT= NLS .endif @@ -151,6 +149,7 @@ qt_DESC= Build QT client TESTS_DESC= Build & run unit tests utils_DESC= Build utilities (create, edit, remote, show) cli_DESC= Build command-line client (deprecated) +web_DESC= Install web interface NLS_USES= gettext-runtime:lib NLS_CMAKE_BOOL= ENABLE_NLS