git: d98d3c19524e - main - x11/dragon-drop: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jun 2026 09:17:16 UTC
The branch main has been updated by nivit:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d98d3c19524e3af1dc92e6a78201bccf336b91ea
commit d98d3c19524e3af1dc92e6a78201bccf336b91ea
Author: Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-06-21 09:15:18 +0000
Commit: Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-06-21 09:15:18 +0000
x11/dragon-drop: Add new port
Dragon-drop is a simple drag-and-drop source/sink for X or Wayland.
Many programs, particularly web applications, expect files to be draggedinto
them now. If you don't habitually use a file manager that is a problem.
Dragon-drop is a lightweight drag-and-drop source for X where you can run:
dragon-drop file.tar.gz
to get a window with just that file in it, ready to be dragged where you need
it.
https://github.com/mwh/dragon
---
x11/Makefile | 1 +
x11/dragon-drop/Makefile | 27 +++++++++++++++++++++++++++
x11/dragon-drop/distinfo | 3 +++
x11/dragon-drop/files/patch-Makefile | 12 ++++++++++++
x11/dragon-drop/pkg-descr | 10 ++++++++++
5 files changed, 53 insertions(+)
diff --git a/x11/Makefile b/x11/Makefile
index 3bba1d44eb09..d7bcb3f42bd4 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -68,6 +68,7 @@
SUBDIR += dmenu
SUBDIR += dmenu2
SUBDIR += docker-tray
+ SUBDIR += dragon-drop
SUBDIR += dsbautostart
SUBDIR += dsbxinput
SUBDIR += dwlb
diff --git a/x11/dragon-drop/Makefile b/x11/dragon-drop/Makefile
new file mode 100644
index 000000000000..0b1d55323fd0
--- /dev/null
+++ b/x11/dragon-drop/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= dragon-drop
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.2.0
+CATEGORIES= x11
+
+MAINTAINER= nivit@FreeBSD.org
+COMMENT= Drag and drop source/target for X or Wayland
+WWW= https://github.com/mwh/dragon
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENCE
+
+USES= gnome pkgconfig
+
+USE_GITHUB= yes
+GH_ACCOUNT= mwh
+GH_PROJECT= dragon
+
+USE_GNOME= gtk30
+
+MAKE_ENV= DESTDIR="${STAGEDIR}" \
+ NAME="${PORTNAME}"
+
+PLIST_FILES= bin/dragon-drop \
+ share/man/man1/dragon-drop.1.gz
+
+.include <bsd.port.mk>
diff --git a/x11/dragon-drop/distinfo b/x11/dragon-drop/distinfo
new file mode 100644
index 000000000000..45d83cb6bbf4
--- /dev/null
+++ b/x11/dragon-drop/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1781946190
+SHA256 (mwh-dragon-v1.2.0_GH0.tar.gz) = 9bda28e96d715c759c8a1db754bdfde5e7d83671e13cd25a892f6b5e29357994
+SIZE (mwh-dragon-v1.2.0_GH0.tar.gz) = 18735
diff --git a/x11/dragon-drop/files/patch-Makefile b/x11/dragon-drop/files/patch-Makefile
new file mode 100644
index 000000000000..a45e7f30ecd5
--- /dev/null
+++ b/x11/dragon-drop/files/patch-Makefile
@@ -0,0 +1,12 @@
+--- Makefile.orig 2022-03-05 21:12:27 UTC
++++ Makefile
+@@ -1,6 +1,6 @@
+-PREFIX = $(HOME)/.local
+-MANPREFIX = $(PREFIX)/share/man
+-NAME = dragon
++PREFIX ?= $(HOME)/.local
++MANPREFIX ?= $(PREFIX)/share/man
++NAME ?= dragon
+
+ all: $(NAME)
+
diff --git a/x11/dragon-drop/pkg-descr b/x11/dragon-drop/pkg-descr
new file mode 100644
index 000000000000..c43527ecd8fd
--- /dev/null
+++ b/x11/dragon-drop/pkg-descr
@@ -0,0 +1,10 @@
+Dragon-drop is a simple drag-and-drop source/sink for X or Wayland.
+
+Many programs, particularly web applications, expect files to be dragged into
+them now. If you don't habitually use a file manager that is a problem.
+Dragon-drop is a lightweight drag-and-drop source for X where you can run:
+
+ dragon-drop file.tar.gz
+
+to get a window with just that file in it, ready to be dragged where you need
+it.