summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-10-20 15:08:12 +0000
committertaca <taca@pkgsrc.org>2011-10-20 15:08:12 +0000
commit8306f6b61b460d793dda5110ff82b310a396c37f (patch)
tree8bab7d9d4564fb68e624bfa6a6d7c2fb0fb82247
parent2f62a695cde023444397270ff7124db11e8a973f (diff)
downloadpkgsrc-8306f6b61b460d793dda5110ff82b310a396c37f.tar.gz
Importing devel/ruby-fiddle version 1.9.2pl290. It is one of missing
parts from ruby19 package. Fiddle is the libffi wrapper library, actually a part of the Ruby distribution.
-rw-r--r--devel/ruby-fiddle/DESCR2
-rw-r--r--devel/ruby-fiddle/Makefile23
-rw-r--r--devel/ruby-fiddle/PLIST5
3 files changed, 30 insertions, 0 deletions
diff --git a/devel/ruby-fiddle/DESCR b/devel/ruby-fiddle/DESCR
new file mode 100644
index 00000000000..bbb9966cd35
--- /dev/null
+++ b/devel/ruby-fiddle/DESCR
@@ -0,0 +1,2 @@
+Fiddle is the libffi wrapper library, actually a part of the
+Ruby distribution.
diff --git a/devel/ruby-fiddle/Makefile b/devel/ruby-fiddle/Makefile
new file mode 100644
index 00000000000..1e5ccdcabd5
--- /dev/null
+++ b/devel/ruby-fiddle/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/20 15:08:12 taca Exp $
+#
+
+DISTNAME= ${RUBY_DISTNAME}
+PKGNAME= ${RUBY_PKGPREFIX}-${RUBY_EXTNAME}-${RUBY_VERSION_SUFFIX}
+RUBY_EXTNAME= fiddle
+CATEGORIES= devel ruby
+MASTER_SITES= ${MASTER_SITE_RUBY}
+
+MAINTAINER= taca@NetBSD.org
+HOMEPAGE= ${RUBY_HOMEPAGE}
+COMMENT= Ruby fiddle library to wrap libffi
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_RUBY_EXTCONF= yes
+EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/fiddle
+WRKSRC= ${RUBY_WRKSRC}/ext/fiddle
+
+.include "../../lang/ruby/modules.mk"
+.include "../../lang/ruby/Makefile.common"
+.include "../../devel/libffi/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-fiddle/PLIST b/devel/ruby-fiddle/PLIST
new file mode 100644
index 00000000000..510f6352c78
--- /dev/null
+++ b/devel/ruby-fiddle/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/20 15:08:12 taca Exp $
+${RUBY_VENDORLIB}/fiddle.rb
+${RUBY_VENDORLIB}/fiddle/closure.rb
+${RUBY_VENDORLIB}/fiddle/function.rb
+${RUBY_VENDORARCHLIB}/fiddle.${RUBY_DLEXT}