aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2026-03-31 04:47:54 +0000
committerJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2026-03-31 04:47:54 +0000
commit58dcb46344263d1aad07a88815b83730a3e26302 (patch)
treeec03bd326fcf54338a2d0c6c23ec7ab9cc9d22fe
parent6763b4d0d578d676ab5825f82cd448294219c585 (diff)
archivers/appscript: New port: Very lightweight script to create self-extractable archives
appscript is a very lightweight script that compresses a directory using tar(1), encodes the result with base64(1), and then creates a sh(1) script that decompresses that result into a temporary location (optionally using tmpfs(4)), and finally executes a script named APPSCRIPT from the current working directory. WWW: https://github.com/DtxdF/appscript
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/appscript/Makefile21
-rw-r--r--archivers/appscript/distinfo3
-rw-r--r--archivers/appscript/pkg-descr5
4 files changed, 30 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 5fe6b92e5b38..56fa9fccb1ac 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -8,6 +8,7 @@
SUBDIR += amigadepacker
SUBDIR += ancient
SUBDIR += apache-commons-compress
+ SUBDIR += appscript
SUBDIR += arc
SUBDIR += arj
SUBDIR += ark
diff --git a/archivers/appscript/Makefile b/archivers/appscript/Makefile
new file mode 100644
index 000000000000..cc15e58e6646
--- /dev/null
+++ b/archivers/appscript/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= appscript
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.0.4
+CATEGORIES= archivers
+
+MAINTAINER= dtxdf@FreeBSD.org
+COMMENT= Very lightweight script to create self-extractable archives
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= DtxdF
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+PLIST_FILES= bin/appscript \
+ share/man/man1/appscript.1.gz
+
+.include <bsd.port.mk>
diff --git a/archivers/appscript/distinfo b/archivers/appscript/distinfo
new file mode 100644
index 000000000000..a0dd3ca13219
--- /dev/null
+++ b/archivers/appscript/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1774932296
+SHA256 (DtxdF-appscript-v0.0.4_GH0.tar.gz) = 529db5f580d92f95df51584be84ec1a8538d6cb007afefa736de2f6801898cb2
+SIZE (DtxdF-appscript-v0.0.4_GH0.tar.gz) = 4298
diff --git a/archivers/appscript/pkg-descr b/archivers/appscript/pkg-descr
new file mode 100644
index 000000000000..9b61c5c7b3ac
--- /dev/null
+++ b/archivers/appscript/pkg-descr
@@ -0,0 +1,5 @@
+appscript is a very lightweight script that compresses a directory
+using tar(1), encodes the result with base64(1), and then creates
+a sh(1) script that decompresses that result into a temporary
+location (optionally using tmpfs(4)), and finally executes a script
+named APPSCRIPT from the current working directory.