From owner-svn-ports-all@freebsd.org Fri Oct 26 14:42:16 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44E5510E9051; Fri, 26 Oct 2018 14:42:16 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C5D57A27A; Fri, 26 Oct 2018 14:42:16 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E364F2261B; Fri, 26 Oct 2018 14:42:15 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9QEgFg4095813; Fri, 26 Oct 2018 14:42:15 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9QEgFEK095812; Fri, 26 Oct 2018 14:42:15 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201810261442.w9QEgFEK095812@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Fri, 26 Oct 2018 14:42:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483036 - head/sysutils/yank X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/sysutils/yank X-SVN-Commit-Revision: 483036 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 14:42:16 -0000 Author: tobik Date: Fri Oct 26 14:42:15 2018 New Revision: 483036 URL: https://svnweb.freebsd.org/changeset/ports/483036 Log: sysutils/yank: Make X11 support optional This reduces the dependencies to nothing and makes it more useful for creating interactive scripts in non-graphical environments. While xsel is the default command yank runs, other commands can be specified and yank works fine without xsel. Modified: head/sysutils/yank/Makefile Modified: head/sysutils/yank/Makefile ============================================================================== --- head/sysutils/yank/Makefile Fri Oct 26 14:40:54 2018 (r483035) +++ head/sysutils/yank/Makefile Fri Oct 26 14:42:15 2018 (r483036) @@ -2,6 +2,7 @@ PORTNAME= yank DISTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://github.com/mptre/yank/releases/download/v${DISTVERSION}/ @@ -11,10 +12,13 @@ COMMENT= Yank terminal output to clipboard LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= xsel-conrad>=0:x11/xsel-conrad MAKE_ARGS= MANPREFIX=${PREFIX}/man PLIST_FILES= bin/yank \ man/man1/yank.1.gz + +OPTIONS_DEFINE= X11 + +X11_RUN_DEPENDS= xsel-conrad>=0:x11/xsel-conrad .include