aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2026-04-27 00:31:05 +0000
committerJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2026-04-27 00:31:41 +0000
commit4d7baf5e6bfad3e2ada5560b74573c90a7265297 (patch)
tree72c77a3c4c7e5a8d17830ba26b87ec364e565b33
parentcf31d2d408c3511585cfedbb51210302ee79caf5 (diff)
sysutils/py-dex: New port: DesktopEntry Execution
dex (DesktopEntry Execution) is a program to generate and execute DesktopEntry files of the Application type. WWW: https://github.com/jceb/dex/
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/py-dex/Makefile32
-rw-r--r--sysutils/py-dex/distinfo3
-rw-r--r--sysutils/py-dex/pkg-descr2
4 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 97e0c091a306..a3515c5c0044 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1060,6 +1060,7 @@
SUBDIR += py-croniter2
SUBDIR += py-dbuild
SUBDIR += py-debian-inspector
+ SUBDIR += py-dex
SUBDIR += py-dict-toolbox
SUBDIR += py-diffoscope
SUBDIR += py-director
diff --git a/sysutils/py-dex/Makefile b/sysutils/py-dex/Makefile
new file mode 100644
index 000000000000..cac835dc2d00
--- /dev/null
+++ b/sysutils/py-dex/Makefile
@@ -0,0 +1,32 @@
+PORTNAME= dex
+DISTVERSION= 0.10.1
+CATEGORIES= sysutils python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dtxdf@FreeBSD.org
+COMMENT= DesktopEntry Execution
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR}
+
+USES= python shebangfix
+USE_GITHUB= yes
+GH_ACCOUNT= jceb
+
+SHEBANG_FILES= dex
+
+NO_ARCH= yes
+
+PLIST_FILES= bin/dex \
+ share/man/man1/dex.1.gz
+
+do-build:
+ @cd ${WRKSRC} && sphinx-build -b man -D version=$(TAG) -E man . man/dex.rst
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/dex ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/dex.1 ${STAGEDIR}${PREFIX}/share/man/man1/dex.1
+
+.include <bsd.port.mk>
diff --git a/sysutils/py-dex/distinfo b/sysutils/py-dex/distinfo
new file mode 100644
index 000000000000..b9f0fd82ff03
--- /dev/null
+++ b/sysutils/py-dex/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1777248262
+SHA256 (jceb-dex-0.10.1_GH0.tar.gz) = 661b96763b1cac062f872c78c03f150ed57d14e315720681bb1fb1e5362e29d4
+SIZE (jceb-dex-0.10.1_GH0.tar.gz) = 13224
diff --git a/sysutils/py-dex/pkg-descr b/sysutils/py-dex/pkg-descr
new file mode 100644
index 000000000000..6e0ec0ad6c2c
--- /dev/null
+++ b/sysutils/py-dex/pkg-descr
@@ -0,0 +1,2 @@
+dex (DesktopEntry Execution) is a program to generate and execute
+DesktopEntry files of the Application type.