aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-24 21:56:20 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-24 21:56:20 +0000
commitc7c8ee0b438f7889822c73733159b6c3bd241160 (patch)
treef0d09449fde275a7f3bc039178e677d5c6d84f7f
parent80074145d8f05856e7142b6f7dde7017a41fa1d0 (diff)
downloadports-c7c8ee0b438f7889822c73733159b6c3bd241160.tar.gz
ports-c7c8ee0b438f7889822c73733159b6c3bd241160.zip
Notes
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-rubygame/Makefile38
-rw-r--r--devel/rubygem-rubygame/distinfo6
-rw-r--r--devel/rubygem-rubygame/pkg-plist12
4 files changed, 20 insertions, 37 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b60fbdd5f9f5..53988d5964b6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3022,6 +3022,7 @@
SUBDIR += rubygem-ruby-debug
SUBDIR += rubygem-ruby-debug-base
SUBDIR += rubygem-ruby-debug-ide
+ SUBDIR += rubygem-rubygame
SUBDIR += rubygem-ruby-ole
SUBDIR += rubygem-ruby-prof
SUBDIR += rubygem-ruby-sdl-ffi
diff --git a/devel/rubygem-rubygame/Makefile b/devel/rubygem-rubygame/Makefile
index c842d1cabf25..ca4c69b52456 100644
--- a/devel/rubygem-rubygame/Makefile
+++ b/devel/rubygem-rubygame/Makefile
@@ -1,31 +1,25 @@
-# New ports collection makefile for: ruby-game
-# Date created: 9 June 2006
-# Whom: ws
+# New ports collection makefile for: rubygem-rubygame
+# Date created: 28 April 2010
+# Whom: ws Christoph Kick
#
# $FreeBSD$
#
-PORTNAME= game
-PORTVERSION= 1.1.0
-PORTREVISION= 8
-CATEGORIES= devel ruby
-MASTER_SITES= http://rubygame.seul.org/files/
-PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-DISTNAME= ruby${PORTNAME}-${PORTVERSION}
-DIST_SUBDIR= ruby
+PORTNAME= rubygame
+PORTVERSION= 2.6.2
+CATEGORIES= devel rubygems
+MASTER_SITES= RF
-MAINTAINER= ruby@FreeBSD.org
+MAINTAINER= kick.christoph@googlemail.com
COMMENT= A game-development extension and library for the ruby language
-USE_SDL= gfx image ttf
-USE_RUBY= yes
-USE_BZIP2= yes
-USE_RUBY_SETUP= yes
+BUILD_DEPENDS= rubygem-ruby-sdl-ffi>=0.2:${PORTSDIR}/devel/rubygem-ruby-sdl-ffi
+RUN_DEPENDS= ${BUILD_DEPENDS}
-.include <bsd.port.pre.mk>
+USE_SDL= gfx image mixer ttf
+USE_RUBY= yes
+USE_RAKE= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
-do-patch:
- ${REINPLACE_CMD} 's|"sdl-config"|"${SDL_CONFIG}"|' \
- ${WRKSRC}/ext/rubygame/extconf.rb
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/rubygem-rubygame/distinfo b/devel/rubygem-rubygame/distinfo
index c5ac166e6843..2e60a5d9d334 100644
--- a/devel/rubygem-rubygame/distinfo
+++ b/devel/rubygem-rubygame/distinfo
@@ -1,3 +1,3 @@
-MD5 (ruby/rubygame-1.1.0.tar.bz2) = b63c37a71dbcee9c179859148e330bcb
-SHA256 (ruby/rubygame-1.1.0.tar.bz2) = c17b21ea69b34e871b895165409ac8d1abeea39fb7ff99b268a75f31157b6bad
-SIZE (ruby/rubygame-1.1.0.tar.bz2) = 151706
+MD5 (rubygem/rubygame-2.6.2.gem) = 0a6426e8f4eb8159061d9ff8b1f185f7
+SHA256 (rubygem/rubygame-2.6.2.gem) = daf93e5c9f19d487f5ebded65a7ff541342b5a3abbfb1c5e8add237e00648dfa
+SIZE (rubygem/rubygame-2.6.2.gem) = 584704
diff --git a/devel/rubygem-rubygame/pkg-plist b/devel/rubygem-rubygame/pkg-plist
deleted file mode 100644
index 924b2dd5ccce..000000000000
--- a/devel/rubygem-rubygame/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-%%RUBY_SITEARCHLIBDIR%%/rubygame.so
-%%RUBY_SITELIBDIR%%/rubygame.rb
-%%RUBY_SITELIBDIR%%/rubygame/clock.rb
-%%RUBY_SITELIBDIR%%/rubygame/constants.rb
-%%RUBY_SITELIBDIR%%/rubygame/event.rb
-%%RUBY_SITELIBDIR%%/rubygame/keyconstants.rb
-%%RUBY_SITELIBDIR%%/rubygame/queue.rb
-%%RUBY_SITELIBDIR%%/rubygame/rect.rb
-%%RUBY_SITELIBDIR%%/rubygame/sfont.rb
-%%RUBY_SITELIBDIR%%/rubygame/sprite.rb
-%%RUBY_SITELIBDIR%%/rubygame/string.rb
-@dirrm %%RUBY_SITELIBDIR%%/rubygame