From 50352031c09752acec623790e21092710369d07d Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Mon, 5 Mar 2007 07:46:38 +0000 Subject: [PATCH] Add rubygem-fastthread 0.6.4.1, optimized replacement for thread.rb primitives. PR: ports/109746 Submitted by: Alexander Logvinov --- devel/Makefile | 1 + devel/rubygem-fastthread/Makefile | 31 ++++++++++++++++++++++++++++++ devel/rubygem-fastthread/distinfo | 3 +++ devel/rubygem-fastthread/pkg-descr | 3 +++ devel/rubygem-fastthread/pkg-plist | 22 +++++++++++++++++++++ 5 files changed, 60 insertions(+) create mode 100644 devel/rubygem-fastthread/Makefile create mode 100644 devel/rubygem-fastthread/distinfo create mode 100644 devel/rubygem-fastthread/pkg-descr create mode 100644 devel/rubygem-fastthread/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index a7968353c928..cfd22d47a4df 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1974,6 +1974,7 @@ SUBDIR += rubygem-builder SUBDIR += rubygem-daemons SUBDIR += rubygem-fastercsv + SUBDIR += rubygem-fastthread SUBDIR += rubygem-gem_plugin SUBDIR += rubygem-hoe SUBDIR += rubygem-inline diff --git a/devel/rubygem-fastthread/Makefile b/devel/rubygem-fastthread/Makefile new file mode 100644 index 000000000000..21a7d04835bb --- /dev/null +++ b/devel/rubygem-fastthread/Makefile @@ -0,0 +1,31 @@ +# Ports collection makefile for: rubygem-fastthread +# Date created: 28 February 2007 +# Whom: Alexander Logvinov +# +# $FreeBSD$ + +PORTNAME= fastthread +PORTVERSION= 0.6.4.1 +CATEGORIES= devel rubygems +MASTER_SITES= ${MASTER_SITE_RUBYFORGE} +MASTER_SITE_SUBDIR= mongrel + +MAINTAINER= ports@logvinov.com +COMMENT= Optimized replacement for thread.rb primitives + +# This target is only meant to be used by the port maintainer. +x-generate-plist: + (${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \ + | ${SED} -E \ + 's,.*share/nls/.+$$,,g \ + ;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \ + ;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \ + ;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \ + ;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \ + ;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \ + ;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \ + ' | ${TR} -s '\n') > temp-pkg-plist + +.include +.include "${PORTSDIR}/devel/ruby-gems/Makefile.common" +.include diff --git a/devel/rubygem-fastthread/distinfo b/devel/rubygem-fastthread/distinfo new file mode 100644 index 000000000000..5422ccfc3812 --- /dev/null +++ b/devel/rubygem-fastthread/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/fastthread-0.6.4.1.gem) = 948c94b7792b0c3512bbbe41d4593106 +SHA256 (rubygem/fastthread-0.6.4.1.gem) = 18017a257fba29d1dc346e4a44bab5dbee8ab491036e26724d2e81c7e0776265 +SIZE (rubygem/fastthread-0.6.4.1.gem) = 19968 diff --git a/devel/rubygem-fastthread/pkg-descr b/devel/rubygem-fastthread/pkg-descr new file mode 100644 index 000000000000..f75b9e629665 --- /dev/null +++ b/devel/rubygem-fastthread/pkg-descr @@ -0,0 +1,3 @@ +Optimized replacement for thread.rb primitives + +WWW: http://mongrel.rubyforge.org/ diff --git a/devel/rubygem-fastthread/pkg-plist b/devel/rubygem-fastthread/pkg-plist new file mode 100644 index 000000000000..e0ffff6febf6 --- /dev/null +++ b/devel/rubygem-fastthread/pkg-plist @@ -0,0 +1,22 @@ +%%GEM_CACHE%% +%%GEM_SPEC%% +%%GEM_LIB_DIR%%/Rakefile +%%GEM_LIB_DIR%%/setup.rb +%%GEM_LIB_DIR%%/test/test_condvar.rb +%%GEM_LIB_DIR%%/test/test_mutex.rb +%%GEM_LIB_DIR%%/test/test_all.rb +%%GEM_LIB_DIR%%/test/test_queue.rb +%%GEM_LIB_DIR%%/ext/fastthread/fastthread.c +%%GEM_LIB_DIR%%/ext/fastthread/extconf.rb +%%GEM_LIB_DIR%%/ext/fastthread/Makefile +%%GEM_LIB_DIR%%/ext/fastthread/fastthread.o +%%GEM_LIB_DIR%%/ext/fastthread/fastthread.so +%%GEM_LIB_DIR%%/tools/rakehelp.rb +%%GEM_LIB_DIR%%/lib/fastthread.so +@dirrm %%GEM_LIB_DIR%%/lib +@dirrm %%GEM_LIB_DIR%%/tools +@dirrm %%GEM_LIB_DIR%%/ext/fastthread +@dirrm %%GEM_LIB_DIR%%/ext +@dirrm %%GEM_LIB_DIR%%/test +@dirrm %%GEM_LIB_DIR%% +@dirrm %%GEM_DOC_DIR%%