aboutsummaryrefslogtreecommitdiffstats
path: root/devel/subprocess.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/subprocess.h')
-rw-r--r--devel/subprocess.h/Makefile24
-rw-r--r--devel/subprocess.h/distinfo3
-rw-r--r--devel/subprocess.h/pkg-descr8
3 files changed, 35 insertions, 0 deletions
diff --git a/devel/subprocess.h/Makefile b/devel/subprocess.h/Makefile
new file mode 100644
index 000000000000..a63a2d318014
--- /dev/null
+++ b/devel/subprocess.h/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= subprocess.h
+DISTVERSION= g20240720
+CATEGORIES= devel
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Single header process launching solution for C and C++
+WWW= https://github.com/sheredom/subprocess.h
+
+LICENSE= UNLICENSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= sheredom
+GH_TAGNAME= b49c56e9fe214488493021017bf3954b91c7c1f5
+
+NO_BUILD= yes
+NO_ARCH= yes
+
+PLIST_FILES= include/subprocess.h
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/subprocess.h ${STAGEDIR}${PREFIX}/include
+
+.include <bsd.port.mk>
diff --git a/devel/subprocess.h/distinfo b/devel/subprocess.h/distinfo
new file mode 100644
index 000000000000..8cd6dc88fe13
--- /dev/null
+++ b/devel/subprocess.h/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1764499422
+SHA256 (sheredom-subprocess.h-g20240720-b49c56e9fe214488493021017bf3954b91c7c1f5_GH0.tar.gz) = 77940e02408fb773a5e355646f8abd99a215db1b54b2bb8022ce8b864441d933
+SIZE (sheredom-subprocess.h-g20240720-b49c56e9fe214488493021017bf3954b91c7c1f5_GH0.tar.gz) = 28938
diff --git a/devel/subprocess.h/pkg-descr b/devel/subprocess.h/pkg-descr
new file mode 100644
index 000000000000..d9572cac5890
--- /dev/null
+++ b/devel/subprocess.h/pkg-descr
@@ -0,0 +1,8 @@
+subprocess.h is a single header solution for launching and interacting
+with child processes in C and C++.
+
+It provides a simple and modern C++ API for executing external commands,
+redirecting I/O, and managing process lifecycle.
+
+This library aims to be a cross-platform solution for process management,
+offering an easy-to-use alternative to platform-specific APIs.