aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2011-10-29 21:55:23 +0800
committerswills <swills@FreeBSD.org>2011-10-29 21:55:23 +0800
commit1ac05eaac85da813dc3290a9ac3235ae1e2d7ff6 (patch)
treec57e00bea10e4de895f271ed55a97d625f832014
parentb7da33fcaed6b5d27efefbdbb4345569c0c04d2c (diff)
downloadfreebsd-ports-gnome-1ac05eaac85da813dc3290a9ac3235ae1e2d7ff6.tar.gz
freebsd-ports-gnome-1ac05eaac85da813dc3290a9ac3235ae1e2d7ff6.tar.zst
freebsd-ports-gnome-1ac05eaac85da813dc3290a9ac3235ae1e2d7ff6.zip
A Ruby wrapper which uses posix_spawnp(2) for faster process spawning
WWW: https://github.com/rtomayko/posix-spawn
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-posix-spawn/Makefile26
-rw-r--r--devel/rubygem-posix-spawn/distinfo2
-rw-r--r--devel/rubygem-posix-spawn/pkg-descr3
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index ccc99711676b..39bdee1d9e33 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3452,6 +3452,7 @@
SUBDIR += rubygem-platform
SUBDIR += rubygem-polyglot
SUBDIR += rubygem-popen4
+ SUBDIR += rubygem-posix-spawn
SUBDIR += rubygem-ptreloaded
SUBDIR += rubygem-railsless-deploy
SUBDIR += rubygem-rake
diff --git a/devel/rubygem-posix-spawn/Makefile b/devel/rubygem-posix-spawn/Makefile
new file mode 100644
index 000000000000..4938af6211f8
--- /dev/null
+++ b/devel/rubygem-posix-spawn/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: rubygem-posix-spawn
+# Date created: 2011-10-29
+# Whom: Steve Wills <swills@rubick>
+#
+# $FreeBSD$
+#
+
+PORTNAME= posix-spawn
+PORTVERSION= 0.3.6
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Ruby wrapper for posix_spawnp(2) for faster process spawning
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+PLIST_FILES= bin/posix-spawn-benchmark
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 800000
+IGNORE= missing posix_spawnp
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/rubygem-posix-spawn/distinfo b/devel/rubygem-posix-spawn/distinfo
new file mode 100644
index 000000000000..5d360e770d6e
--- /dev/null
+++ b/devel/rubygem-posix-spawn/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/posix-spawn-0.3.6.gem) = 83aced0908f18b3ea8734191dcf2b2984f55378c8b231e4bf99e0880d4c45538
+SIZE (rubygem/posix-spawn-0.3.6.gem) = 25600
diff --git a/devel/rubygem-posix-spawn/pkg-descr b/devel/rubygem-posix-spawn/pkg-descr
new file mode 100644
index 000000000000..31152aaf2f00
--- /dev/null
+++ b/devel/rubygem-posix-spawn/pkg-descr
@@ -0,0 +1,3 @@
+A Ruby wrapper which uses posix_spawnp(2) for faster process spawning
+
+WWW: https://github.com/rtomayko/posix-spawn