svn commit: r483036 - head/sysutils/yank
Tobias Kortkamp
tobik at FreeBSD.org
Fri Oct 26 14:42:16 UTC 2018
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 <bsd.port.mk>
More information about the svn-ports-all
mailing list