Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2020 01:52:05 +0000 (UTC)
From:      =?UTF-8?Q?Alexandre_C=2e_Guimar=c3=a3es?= <rigoletto@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r535962 - in head/net-p2p: . transmission transmission-cli transmission-daemon transmission-gtk transmission-utils
Message-ID:  <202005200152.04K1q597073108@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rigoletto
Date: Wed May 20 01:52:05 2020
New Revision: 535962
URL: https://svnweb.freebsd.org/changeset/ports/535962

Log:
  net-p2p/transmission: Allow all variants to be installed concurrently
  
  - split utils in a separated port
  
  PR:		246272
  Differential Revision:	https://reviews.freebsd.org/D24851

Added:
  head/net-p2p/transmission-utils/
  head/net-p2p/transmission-utils/Makefile   (contents, props changed)
  head/net-p2p/transmission-utils/pkg-descr   (contents, props changed)
  head/net-p2p/transmission-utils/pkg-plist   (contents, props changed)
Modified:
  head/net-p2p/Makefile
  head/net-p2p/transmission-cli/Makefile
  head/net-p2p/transmission-cli/pkg-plist
  head/net-p2p/transmission-daemon/Makefile
  head/net-p2p/transmission-daemon/pkg-plist
  head/net-p2p/transmission-gtk/Makefile
  head/net-p2p/transmission/Makefile

Modified: head/net-p2p/Makefile
==============================================================================
--- head/net-p2p/Makefile	Wed May 20 00:36:40 2020	(r535961)
+++ head/net-p2p/Makefile	Wed May 20 01:52:05 2020	(r535962)
@@ -91,6 +91,7 @@
     SUBDIR += transmission-gtk
     SUBDIR += transmission-qt
     SUBDIR += transmission-remote-gui
+    SUBDIR += transmission-utils
     SUBDIR += udpt
     SUBDIR += uhub
     SUBDIR += vuze

Modified: head/net-p2p/transmission-cli/Makefile
==============================================================================
--- head/net-p2p/transmission-cli/Makefile	Wed May 20 00:36:40 2020	(r535961)
+++ head/net-p2p/transmission-cli/Makefile	Wed May 20 01:52:05 2020	(r535962)
@@ -2,6 +2,7 @@
 
 PORTNAME=	transmission
 DISTVERSION=	3.00
+PORTREVISION=	1
 CATEGORIES+=	net-p2p
 SLAVEPORT?=	cli
 PKGNAMESUFFIX?=	-cli
@@ -30,7 +31,6 @@ USES+=		cmake cpe iconv libtool localbase pkgconfig ss
 
 .  if ${SLAVEPORT:Mcli}
 NLS_USES=	gettext-runtime:run
-CONFLICTS_INSTALL=      transmission-daemon
 .  endif
 
 CPE_VENDOR=	transmissionbt
@@ -39,15 +39,15 @@ CPE_VENDOR=	transmissionbt
 USE_GITHUB=	yes
 GH_TAGNAME=	3ef10de6d97d8cf181fdef81cc435d6a84c86000
 
-.if ${SLAVEPORT} != web
-SLAVES=		cli daemon gtk qt
+.if ${SLAVEPORT:Nutils}
+CMAKE_OFF+=	ENABLE_UTILS
+.endif
+
+.if ${SLAVEPORT:Nweb}
+SLAVES=		cli daemon gtk qt utils
 CMAKE_ON+=	ENABLE_${SLAVEPORT:tu}
 CMAKE_OFF+=	${SLAVES:N${SLAVEPORT}:tu:S/^/ENABLE_/}
 
-.  if ${SLAVEPORT:Nweb:Ncli:Ndaemon}
-CMAKE_OFF+=	ENABLE_UTILS
-.  endif
-
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${SLAVEPORT}
 CMAKE_ARGS+=	-DCMAKE_INSTALL_DOCDIR=${DOCSDIR}
 
@@ -55,7 +55,6 @@ OPTIONS_DEFINE+=	DOCS LITE NLS
 OPTIONS_SUB=		yes
 
 NLS_CMAKE_BOOL=		ENABLE_NLS
-
 LITE_CMAKE_BOOL=	ENABLE_LIGHTWEIGHT
 .endif
 

Modified: head/net-p2p/transmission-cli/pkg-plist
==============================================================================
--- head/net-p2p/transmission-cli/pkg-plist	Wed May 20 00:36:40 2020	(r535961)
+++ head/net-p2p/transmission-cli/pkg-plist	Wed May 20 01:52:05 2020	(r535962)
@@ -1,13 +1,5 @@
 bin/transmission-cli
-bin/transmission-create
-bin/transmission-edit
-bin/transmission-remote
-bin/transmission-show
 man/man1/transmission-cli.1.gz
-man/man1/transmission-create.1.gz
-man/man1/transmission-edit.1.gz
-man/man1/transmission-remote.1.gz
-man/man1/transmission-show.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/NEWS.md

Modified: head/net-p2p/transmission-daemon/Makefile
==============================================================================
--- head/net-p2p/transmission-daemon/Makefile	Wed May 20 00:36:40 2020	(r535961)
+++ head/net-p2p/transmission-daemon/Makefile	Wed May 20 01:52:05 2020	(r535962)
@@ -1,11 +1,10 @@
 # $FreeBSD$
 
 PKGNAMESUFFIX=	-daemon
+PORTREVISION=	1
 
 USES=		ssl
 NLS_USES=	gettext-runtime:run
-
-CONFLICTS_INSTALL=	transmission-cli
 
 USERS=		transmission
 GROUPS=		transmission

Modified: head/net-p2p/transmission-daemon/pkg-plist
==============================================================================
--- head/net-p2p/transmission-daemon/pkg-plist	Wed May 20 00:36:40 2020	(r535961)
+++ head/net-p2p/transmission-daemon/pkg-plist	Wed May 20 01:52:05 2020	(r535962)
@@ -1,13 +1,5 @@
-bin/transmission-create
 bin/transmission-daemon
-bin/transmission-edit
-bin/transmission-remote
-bin/transmission-show
-man/man1/transmission-create.1.gz
 man/man1/transmission-daemon.1.gz
-man/man1/transmission-edit.1.gz
-man/man1/transmission-remote.1.gz
-man/man1/transmission-show.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/NEWS.md

Modified: head/net-p2p/transmission-gtk/Makefile
==============================================================================
--- head/net-p2p/transmission-gtk/Makefile	Wed May 20 00:36:40 2020	(r535961)
+++ head/net-p2p/transmission-gtk/Makefile	Wed May 20 01:52:05 2020	(r535962)
@@ -1,6 +1,7 @@
 # $FreeBSD$
 
 PKGNAMESUFFIX=	-gtk
+PORTREVISION=	1
 
 LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib \
 		libnotify.so:devel/libnotify
@@ -9,6 +10,7 @@ RUN_DEPENDS=	xdg-open:devel/xdg-utils
 USES=		desktop-file-utils gnome ssl
 NLS_USES=	gettext-tools:build
 USE_GNOME=	cairo gdkpixbuf2 gtk30 intlhack pango
+INSTALL_ICONS=	yes
 
 MASTERDIR=	${.CURDIR}/../transmission-cli
 DESCR=		${.CURDIR}/pkg-descr

Added: head/net-p2p/transmission-utils/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/transmission-utils/Makefile	Wed May 20 01:52:05 2020	(r535962)
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+PKGNAMESUFFIX=	-utils
+
+NLS_USES=	gettext-tools:build
+
+MASTERDIR=	${.CURDIR}/../transmission-cli
+DESCR=		${.CURDIR}/pkg-descr
+PLIST=		${.CURDIR}/pkg-plist
+
+SLAVEPORT=	utils
+
+.include "${MASTERDIR}/Makefile"

Added: head/net-p2p/transmission-utils/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/transmission-utils/pkg-descr	Wed May 20 01:52:05 2020	(r535962)
@@ -0,0 +1,9 @@
+Transmission-utils iclude the tools to create and manipulate torrent files.
+
+Transmission has been built from the ground up to be a lightweight, yet
+powerful BitTorrent client. Its simple, intuitive interface is designed to
+integrate tightly with whatever computing environment you choose to use.
+Transmission strikes a balance between providing useful functionality
+without feature bloat. Furthermore, it is free for anyone to use or modify.
+
+WWW: http://www.transmissionbt.com/

Added: head/net-p2p/transmission-utils/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/transmission-utils/pkg-plist	Wed May 20 01:52:05 2020	(r535962)
@@ -0,0 +1,14 @@
+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
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/NEWS.md
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+%%PORTDOCS%%%%DOCSDIR%%/rpc-spec.txt
+%%PORTDOCS%%%%DOCSDIR%%/send-email-when-torrent-done.sh

Modified: head/net-p2p/transmission/Makefile
==============================================================================
--- head/net-p2p/transmission/Makefile	Wed May 20 00:36:40 2020	(r535961)
+++ head/net-p2p/transmission/Makefile	Wed May 20 01:52:05 2020	(r535962)
@@ -2,6 +2,7 @@
 
 PORTNAME=	transmission
 DISTVERSION=	3.00
+PORTREVISION=	1
 CATEGORIES=	net-p2p
 
 MAINTAINER=	rigoletto@FreeBSD.org
@@ -12,19 +13,21 @@ LICENSE_COMB=	multi
 
 USES=		metaport
 
-OPTIONS_DEFINE=		CLI DAEMON GTK WEB QT
-OPTIONS_DEFAULT=        CLI GTK WEB
+OPTIONS_DEFINE=		CLI DAEMON GTK QT UTILS WEB
+OPTIONS_DEFAULT=	${OPTIONS_DEFINE}
 
 CLI_DESC=		Command line version
 DAEMON_DESC=		Daemon version
 GTK_DESC=		GTK version
 QT_DESC=		Qt version
+UTILS_DESC=		Command line tools
 WEB_DESC=		Web client
 
 CLI_RUN_DEPENDS=	transmission-cli:net-p2p/transmission-cli
 DAEMON_RUN_DEPENDS=	transmission-daemon:net-p2p/transmission-daemon
 GTK_RUN_DEPENDS=	transmission-gtk:net-p2p/transmission-gtk
 QT_RUN_DEPENDS=		transmission-qt:net-p2p/transmission-qt
+UTILS_RUN_DEPENDS=	transmission-create:net-p2p/transmission-utils
 WEB_RUN_DEPENDS=	${DATADIR}/web/index.html:www/transmission-web
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005200152.04K1q597073108>