diff --git a/net-p2p/transmission-components/Makefile b/net-p2p/transmission-components/Makefile index aa24837771e1..409192b25755 100644 --- a/net-p2p/transmission-components/Makefile +++ b/net-p2p/transmission-components/Makefile @@ -1,192 +1,192 @@ PORTNAME= transmission DISTVERSION= 4.0.5 +PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= mondo.debater_0q@icloud.com COMMENT= Transmission BitTorrent client WWW= https://www.transmissionbt.com LICENSE= GPLv3+ 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 LIB_DEPENDS= libb64.so:converters/libb64 \ libcurl.so:ftp/curl \ libdeflate.so:archivers/libdeflate \ libdht.so:devel/jech-dht \ libevent.so:devel/libevent \ libminiupnpc.so:net/miniupnpc \ libnatpmp.so:net/libnatpmp \ libpsl.so:dns/libpsl \ libutp.so:net-p2p/libutp FLAVORS= cli docs daemon gtk qt utils FLAVOR?= ${FLAVORS:[1]} .for flavor in ${FLAVORS} ${flavor}_PKGNAMESUFFIX= -${flavor} .endfor DESCR= ${PKGDIR}/pkg-descr.${FLAVOR} .if ${FLAVOR} == docs NO_BUILD= yes LIB_DEPENDS= .endif gtk_LIB_DEPENDS= libayatana-appindicator3.so:devel/libayatana-appindicator \ libharfbuzz.so:print/harfbuzz USES= cmake cpe iconv libtool localbase pkgconfig ssl tar:xz CPE_VENDOR= transmissionbt CPE_PRODUCT= transmission EXTRACT_AFTER_ARGS= --exclude third-party/dht \ --exclude third-party/fast_float \ --exclude third-party/fmt \ --exclude third-party/libb64 \ --exclude third-party/libdeflate \ --exclude third-party/libevent \ --exclude third-party/libnatpmp \ --exclude third-party/libpsl \ --exclude third-party/libutp \ --exclude third-party/miniupnpc \ --exclude third-party/utfcpp .if ${FLAVOR} == gtk USES+= desktop-file-utils gettext-runtime gettext-tools gnome USE_GNOME= gdkpixbuf2 glibmm gtkmm30 .endif .if ${FLAVOR} == qt USES+= desktop-file-utils qmake:no_env qt:5 USE_QT= core dbus gui network svg widgets buildtools:build \ linguisttools:build .endif .if ${FLAVOR} == daemon USE_RC_SUBR= transmission .endif .if ${FLAVOR} == docs USES= cpe tar:xz .endif -CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR="${PREFIX}/man" CMAKE_ON= USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \ USE_SYSTEM_EVENT2 USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP \ USE_SYSTEM_PSL USE_SYSTEM_UTP CMAKE_OFF= ENABLE_MAC REBUILD_WEB WITH_SYSTEMD .if ${FLAVOR:Ndocs} USERS= transmission GROUPS= transmission .endif PLIST= ${PKGDIR}/pkg-plist.${FLAVOR} .if ${FLAVOR} == cli CMAKE_ON+= ENABLE_CLI CMAKE_OFF+= ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB .endif .if ${FLAVOR} == daemon CMAKE_ON+= ENABLE_DAEMON CMAKE_OFF+= ENABLE_CLI ENABLE_GTK ENABLE_QT ENABLE_UTILS .endif .if ${FLAVOR} == gtk CMAKE_ON+= ENABLE_GTK GTK_IS_REQUIRED CMAKE_ARGS+= -DUSE_GTK_VERSION=3 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_OFF+= ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB .endif .if ${FLAVOR} == utils CMAKE_ON+= ENABLE_UTILS CMAKE_OFF+= ENABLE_CLI ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_TESTS \ ENABLE_WERROR INSTALL_WEB .endif OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME}/${FLAVOR}-options .if ${FLAVOR:Mdaemon} OPTIONS_DEFINE= NLS TESTS WEB OPTIONS_DEFAULT= NLS WEB .endif .if ${FLAVOR:Mdocs} OPTIONS_DEFINE= .endif .if ${FLAVOR:Ndaemon} && ${FLAVOR:Ndocs} OPTIONS_DEFINE= NLS TESTS OPTIONS_DEFAULT= NLS .endif OPTIONS_SUB= yes daemon_DESC= Build daemon docs_DESC= Install documentation gtk_DESC= Build GTK+ client 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 client (implies daemon) NLS_USES= gettext-runtime:lib NLS_CMAKE_BOOL= ENABLE_NLS TESTS_CMAKE_BOOL= ENABLE_TESTS UTILS_CMAKE_BOOL= ENABLE_UTILS WEB_CMAKE_BOOL= INSTALL_WEB .if ${FLAVOR} == docs pre-install: @${ECHO_MSG} "Removing outdated release notes" @${FIND} ${WRKSRC}/news \( -name 'news-[0-3]*' -o -name '*beta*' \) -delete do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} ; ${CP} AUTHORS ${STAGEDIR}${DOCSDIR} ;\ ${CP} COPYING ${STAGEDIR}${DOCSDIR} ;\ ${CP} README.md ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/docs ; ${CP} rpc-spec.md ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/extras ; ${CP} send-email-when-torrent-done.sh ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/news @cd ${WRKSRC}/news ; ${CP} -R . ${STAGEDIR}${DOCSDIR}/news .endif .if ${FLAVOR} == qt post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/qt/icons/transmission.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/transmission-qt.svg .endif .if ${FLAVOR} == daemon post-install: ${MKDIR} ${STAGEDIR}${ETCDIR}/home .endif post-install-TESTS-on: @${ECHO_MSG} "Running tests..." @cd ${BUILD_WRKSRC}/tests/libtransmission/ && \ eval ${BUILD_WRKSRC}/tests/libtransmission/libtransmission-test \ --gtest_filter="-DhtTest.usesBootstrapFile" \ #fails in poudriere due to lack of networking, passes otherwise --gtest_brief=1 \ .include diff --git a/net-p2p/transmission-components/pkg-plist.cli b/net-p2p/transmission-components/pkg-plist.cli index 55f1f4a0e783..922eb8a95e17 100644 --- a/net-p2p/transmission-components/pkg-plist.cli +++ b/net-p2p/transmission-components/pkg-plist.cli @@ -1,2 +1,2 @@ bin/transmission-cli -man/man1/transmission-cli.1.gz +share/man/man1/transmission-cli.1.gz diff --git a/net-p2p/transmission-components/pkg-plist.daemon b/net-p2p/transmission-components/pkg-plist.daemon index b57c7e1545a9..885520ec887e 100644 --- a/net-p2p/transmission-components/pkg-plist.daemon +++ b/net-p2p/transmission-components/pkg-plist.daemon @@ -1,10 +1,10 @@ bin/transmission-daemon @dir %%ETCDIR%%/home -man/man1/transmission-daemon.1.gz +share/man/man1/transmission-daemon.1.gz %%WEB%%%%DATADIR%%/public_html/images/favicon.ico %%WEB%%%%DATADIR%%/public_html/images/favicon.png %%WEB%%%%DATADIR%%/public_html/images/webclip-icon.png %%WEB%%%%DATADIR%%/public_html/index.html %%WEB%%%%DATADIR%%/public_html/transmission-app.css %%WEB%%%%DATADIR%%/public_html/transmission-app.js %%WEB%%%%DATADIR%%/public_html/transmission-app.js.LEGAL.txt diff --git a/net-p2p/transmission-components/pkg-plist.gtk b/net-p2p/transmission-components/pkg-plist.gtk index bd6e68b8d2bd..d7f035dbb82f 100644 --- a/net-p2p/transmission-components/pkg-plist.gtk +++ b/net-p2p/transmission-components/pkg-plist.gtk @@ -1,93 +1,93 @@ bin/transmission-gtk -man/man1/transmission-gtk.1.gz +share/man/man1/transmission-gtk.1.gz share/applications/transmission-gtk.desktop share/icons/hicolor/scalable/apps/transmission-devel.svg share/icons/hicolor/scalable/apps/transmission.svg share/icons/hicolor/symbolic/apps/transmission-symbolic.svg %%NLS%%share/locale/an/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ar/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ast/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/az/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/be/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/bg/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/bn/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/br/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/bs/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ca/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ca@valencia/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ceb/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ckb/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/cs/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/cy/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/da/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/de/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/el/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/en_AU/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/en_CA/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/en_GB/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/eo/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/es/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/et/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/eu/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/fa/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/fi/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/fil/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/fo/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/fr/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/fr_CA/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ga/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/gl/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/gv/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/he/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/hi/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/hr/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/hu/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/hy/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ia/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/id/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/is/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/it/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ja/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/jbo/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ka/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/kk/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ko/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ku/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ky/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/li/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/lt/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/lv/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/mk/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ml/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/mr/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ms/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/mt/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/nb/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/nl/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/nn/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/oc/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/pl/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/pt/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/pt_PT/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ro/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ru/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/si/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/sk/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/sl/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/sq/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/sr/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/sv/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ta/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/te/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/th/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/tr/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ug/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/uk/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/ur/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/uz/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/vi/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/zh_HK/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/transmission-gtk.mo %%NLS%%share/metainfo/transmission-gtk.metainfo.xml diff --git a/net-p2p/transmission-components/pkg-plist.qt b/net-p2p/transmission-components/pkg-plist.qt index 5085a1378da3..783956dc7080 100644 --- a/net-p2p/transmission-components/pkg-plist.qt +++ b/net-p2p/transmission-components/pkg-plist.qt @@ -1,34 +1,34 @@ bin/transmission-qt -man/man1/transmission-qt.1.gz +share/man/man1/transmission-qt.1.gz share/applications/transmission-qt.desktop share/icons/hicolor/scalable/apps/transmission-qt.svg %%NLS%%%%DATADIR%%/translations/transmission_af.qm %%NLS%%%%DATADIR%%/translations/transmission_ca.qm %%NLS%%%%DATADIR%%/translations/transmission_da.qm %%NLS%%%%DATADIR%%/translations/transmission_de.qm %%NLS%%%%DATADIR%%/translations/transmission_el.qm %%NLS%%%%DATADIR%%/translations/transmission_en.qm %%NLS%%%%DATADIR%%/translations/transmission_es.qm %%NLS%%%%DATADIR%%/translations/transmission_eu.qm %%NLS%%%%DATADIR%%/translations/transmission_fi.qm %%NLS%%%%DATADIR%%/translations/transmission_fr.qm %%NLS%%%%DATADIR%%/translations/transmission_hu.qm %%NLS%%%%DATADIR%%/translations/transmission_id.qm %%NLS%%%%DATADIR%%/translations/transmission_it_IT.qm %%NLS%%%%DATADIR%%/translations/transmission_ja.qm %%NLS%%%%DATADIR%%/translations/transmission_ka.qm %%NLS%%%%DATADIR%%/translations/transmission_kk.qm %%NLS%%%%DATADIR%%/translations/transmission_ko.qm %%NLS%%%%DATADIR%%/translations/transmission_lt.qm %%NLS%%%%DATADIR%%/translations/transmission_nb.qm %%NLS%%%%DATADIR%%/translations/transmission_nl.qm %%NLS%%%%DATADIR%%/translations/transmission_pl.qm %%NLS%%%%DATADIR%%/translations/transmission_pt.qm %%NLS%%%%DATADIR%%/translations/transmission_pt_BR.qm %%NLS%%%%DATADIR%%/translations/transmission_pt_PT.qm %%NLS%%%%DATADIR%%/translations/transmission_ru.qm %%NLS%%%%DATADIR%%/translations/transmission_sl.qm %%NLS%%%%DATADIR%%/translations/transmission_sv.qm %%NLS%%%%DATADIR%%/translations/transmission_tr.qm %%NLS%%%%DATADIR%%/translations/transmission_uk.qm %%NLS%%%%DATADIR%%/translations/transmission_zh_CN.qm diff --git a/net-p2p/transmission-components/pkg-plist.utils b/net-p2p/transmission-components/pkg-plist.utils index 3d616b193161..680b4d646dd7 100644 --- a/net-p2p/transmission-components/pkg-plist.utils +++ b/net-p2p/transmission-components/pkg-plist.utils @@ -1,8 +1,8 @@ bin/transmission-create bin/transmission-edit bin/transmission-remote bin/transmission-show -man/man1/transmission-create.1.gz -man/man1/transmission-edit.1.gz -man/man1/transmission-remote.1.gz -man/man1/transmission-show.1.gz +share/man/man1/transmission-create.1.gz +share/man/man1/transmission-edit.1.gz +share/man/man1/transmission-remote.1.gz +share/man/man1/transmission-show.1.gz