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 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.