aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2011-04-11 07:16:11 +0800
committerswills <swills@FreeBSD.org>2011-04-11 07:16:11 +0800
commite0c8599bf3a82336ff49a10fd4a66bc2828434b1 (patch)
tree2454954401aa7f25ac3b000448c903834b2f0839
parent91d0f1cdc893d56c74beeaad509c7477d1ae05c2 (diff)
downloadfreebsd-ports-gnome-e0c8599bf3a82336ff49a10fd4a66bc2828434b1.tar.gz
freebsd-ports-gnome-e0c8599bf3a82336ff49a10fd4a66bc2828434b1.tar.zst
freebsd-ports-gnome-e0c8599bf3a82336ff49a10fd4a66bc2828434b1.zip
Ruby/SDL is a Ruby extension library to use SDL library.
WWW: http://rubygems.org/gems/rubysdl
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-sdl/Makefile26
-rw-r--r--devel/rubygem-sdl/distinfo2
-rw-r--r--devel/rubygem-sdl/pkg-descr3
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 1f1943ec8af3..0b4ec8dc2254 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3283,6 +3283,7 @@
SUBDIR += rubygem-rubyinlineaccel
SUBDIR += rubygem-runt
SUBDIR += rubygem-ruport
+ SUBDIR += rubygem-sdl
SUBDIR += rubygem-sequel
SUBDIR += rubygem-sexp_processor
SUBDIR += rubygem-shoulda
diff --git a/devel/rubygem-sdl/Makefile b/devel/rubygem-sdl/Makefile
new file mode 100644
index 000000000000..9e537c61e5bc
--- /dev/null
+++ b/devel/rubygem-sdl/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: rubygem-sdl
+# Date created: 2011-04-10
+# Whom: Steve Wills <swills@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sdl
+PORTVERSION= 2.1.1
+CATEGORIES= devel graphics audio ruby
+MASTER_SITES= RG
+DISTNAME= rubysdl-${PORTVERSION}
+
+MAINTAINER= swills@FreeBSD.org
+COMMENT= Ruby extension library to use SDL library
+
+RUN_DEPENDS= rubygem-opengl>=0.60.1:${PORTSDIR}/graphics/rubygem-opengl
+
+GEM_NAME= ${DISTNAME}
+
+USE_SDL= mixer image ttf sdl
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-sdl/distinfo b/devel/rubygem-sdl/distinfo
new file mode 100644
index 000000000000..0a04143e6232
--- /dev/null
+++ b/devel/rubygem-sdl/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/rubysdl-2.1.1.gem) = 91bc4e72996161f1f2d1482fd2c2e49616e1efc6bb3384af4380d6222f7f65b1
+SIZE (rubygem/rubysdl-2.1.1.gem) = 393728
diff --git a/devel/rubygem-sdl/pkg-descr b/devel/rubygem-sdl/pkg-descr
new file mode 100644
index 000000000000..53f4ddb2a073
--- /dev/null
+++ b/devel/rubygem-sdl/pkg-descr
@@ -0,0 +1,3 @@
+Ruby/SDL is a Ruby extension library to use SDL library.
+
+WWW: http://rubygems.org/gems/rubysdl