aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2023-09-29 15:14:22 +0000
committerNicola Vitale <nivit@FreeBSD.org>2023-09-29 15:14:22 +0000
commita81e3f34a76537f5da672e3f316a9e950d0959f1 (patch)
treed2191b8b091ac0e3d792740e176a395e517b6d4a
parent1d786d0ef894e85e9db1e3d9a3bb301e1b9b1ad2 (diff)
downloadports-a81e3f34a76537f5da672e3f316a9e950d0959f1.tar.gz
ports-a81e3f34a76537f5da672e3f316a9e950d0959f1.zip
misc/tdrop: Add new port
Tdrop makes dropdown terminals and windows. It is used for hiding/unhiding programs to achieve quake/dropdown functionality. It can create a dropdown window if one does not already exist or turn the current window into a dropdown on the fly. https://github.com/noctuid/tdrop
-rw-r--r--misc/Makefile1
-rw-r--r--misc/tdrop/Makefile33
-rw-r--r--misc/tdrop/distinfo3
-rw-r--r--misc/tdrop/pkg-descr5
4 files changed, 42 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 1304a56a71fe..7fb79b6beb42 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -560,6 +560,7 @@
SUBDIR += table.el
SUBDIR += talkfilters
SUBDIR += tdfiglet
+ SUBDIR += tdrop
SUBDIR += team
SUBDIR += tellico
SUBDIR += tempcontrol
diff --git a/misc/tdrop/Makefile b/misc/tdrop/Makefile
new file mode 100644
index 000000000000..ac0ec8f33bcb
--- /dev/null
+++ b/misc/tdrop/Makefile
@@ -0,0 +1,33 @@
+PORTNAME= tdrop
+DISTVERSION= 0.5.0
+CATEGORIES= misc
+
+MAINTAINER= nivit@FreeBSD.org
+COMMENT= Glorified WM-Independent Dropdown Creator
+WWW= https://github.com/noctuid/tdrop
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= bash:shells/bash \
+ coreutils>=9.1:sysutils/coreutils \
+ gawk:lang/gawk \
+ tmux:sysutils/tmux \
+ xdotool:x11/xdotool \
+ xprop:x11/xprop \
+ xrandr:x11/xrandr \
+ xwininfo:x11/xwininfo
+
+USE_GITHUB= yes
+GH_ACCOUNT= noctuid
+
+NO_BUILD= yes
+
+PLIST_FILES= bin/tdrop \
+ man/man1/tdrop.1.gz
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/tdrop ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/tdrop.1 ${STAGEDIR}${PREFIX}/man/man1/
+
+.include <bsd.port.mk>
diff --git a/misc/tdrop/distinfo b/misc/tdrop/distinfo
new file mode 100644
index 000000000000..c90ee574da6e
--- /dev/null
+++ b/misc/tdrop/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1695995578
+SHA256 (noctuid-tdrop-0.5.0_GH0.tar.gz) = ac37c76cb936d8e4c1c0aba5874999e09b8acbe07a2e23e8181114bd4a2a0a5d
+SIZE (noctuid-tdrop-0.5.0_GH0.tar.gz) = 24726
diff --git a/misc/tdrop/pkg-descr b/misc/tdrop/pkg-descr
new file mode 100644
index 000000000000..a4a61e7e0b27
--- /dev/null
+++ b/misc/tdrop/pkg-descr
@@ -0,0 +1,5 @@
+Tdrop makes dropdown terminals and windows.
+
+It is used for hiding/unhiding programs to achieve quake/dropdown
+functionality. It can create a dropdown window if one does not already
+exist or turn the current window into a dropdown on the fly.