aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-rudl
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-04-17 13:03:51 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-04-17 13:03:51 +0000
commit1c4294e2e9e5b5cd972d28dfadc312cf944a88fc (patch)
treea858a7ca543d9088440bd28947931480cced292e /devel/ruby-rudl
parentc43976b9b2448791631f3dd041c0064c7a323ffb (diff)
downloadports-1c4294e2e9e5b5cd972d28dfadc312cf944a88fc.tar.gz
ports-1c4294e2e9e5b5cd972d28dfadc312cf944a88fc.zip
Notes
Diffstat (limited to 'devel/ruby-rudl')
-rw-r--r--devel/ruby-rudl/Makefile2
-rw-r--r--devel/ruby-rudl/distinfo2
-rw-r--r--devel/ruby-rudl/files/patch-extconf.rb41
-rw-r--r--devel/ruby-rudl/pkg-plist5
4 files changed, 14 insertions, 36 deletions
diff --git a/devel/ruby-rudl/Makefile b/devel/ruby-rudl/Makefile
index cfb2feae4829..a2f479ace099 100644
--- a/devel/ruby-rudl/Makefile
+++ b/devel/ruby-rudl/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= rudl
-PORTVERSION= 0.1
+PORTVERSION= 0.2
CATEGORIES= devel ruby
MASTER_SITES= http://froukepc.dhs.org/rudl/download/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
diff --git a/devel/ruby-rudl/distinfo b/devel/ruby-rudl/distinfo
index 170baa727149..edf46b44cafb 100644
--- a/devel/ruby-rudl/distinfo
+++ b/devel/ruby-rudl/distinfo
@@ -1 +1 @@
-MD5 (ruby/rudl-0.1.tar.gz) = c7c0ec7be27aaec8f2a35841cd41b334
+MD5 (ruby/rudl-0.2.tar.gz) = ca7ff46fe757fb7793e9f7dac84917a8
diff --git a/devel/ruby-rudl/files/patch-extconf.rb b/devel/ruby-rudl/files/patch-extconf.rb
index 388ffa185c81..60e509beb5ab 100644
--- a/devel/ruby-rudl/files/patch-extconf.rb
+++ b/devel/ruby-rudl/files/patch-extconf.rb
@@ -1,35 +1,12 @@
---- extconf.rb.orig Tue Apr 10 07:12:54 2001
-+++ extconf.rb Tue Apr 10 16:56:53 2001
-@@ -5,20 +5,20 @@
-
- makeMakefile=false
-
--havePthread=have_library('pthread')
-+sdl_config = with_config("sdl-config", "sdl-config")
+--- extconf.rb.orig Wed Apr 11 08:36:36 2001
++++ extconf.rb Tue Apr 17 22:01:42 2001
+@@ -24,8 +24,7 @@
+ have_header('SDL_image.h')
+ have_header('SDL_mixer.h')
-if have_library('SDL', 'SDL_Quit') and
-- have_library('SDLmain') then
-+have_library('pthread')
-
-- if /mswin32|cygwin/ =~ RUBY_PLATFORM then
-- # Make sure SDL.h is to be found somewhere!
-- makeMakefile=have_header('SDL.h')
-- else
-- $CFLAGS += `sdl-config --cflags`.chomp
-- $LDFLAGS += `sdl-config --libs`.chomp
-- makeMakefile=have_header('SDL.h') and havePthread
-- end
-+if /mswin32|cygwin/ =~ RUBY_PLATFORM then
-+ have_library('SDL', 'SDL_Quit')
-+ have_library('SDLmain')
-+else
-+ $CFLAGS += `#{sdl_config} --cflags`.chomp
-+ $LDFLAGS += `#{sdl_config} --libs`.chomp
- end
-
--if makeMakefile then create_makefile('RuDL') end
-+if have_func('SDL_Quit') then
-+ makeMakefile=have_header('SDL.h')
-+end
+- have_library('SDLmain') and
++if have_func('SDL_Quit') and
+ have_header('SDL.h') then
-+if makeMakefile then create_makefile('RuDL') end
+ create_makefile('RuDL')
diff --git a/devel/ruby-rudl/pkg-plist b/devel/ruby-rudl/pkg-plist
index d41db20c342b..e96966b9bff7 100644
--- a/devel/ruby-rudl/pkg-plist
+++ b/devel/ruby-rudl/pkg-plist
@@ -1,8 +1,9 @@
%%RUBY_SITEARCHLIBDIR%%/RuDL.so
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rudl/256col.bmp
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rudl/analog.wav
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rudl/bounce.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rudl/bounceme.bmp
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rudl/test.bmp
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rudl/caribean.mod
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rudl/schoenie.jpg
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rudl/test.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/rudl
%%PORTDOCS%%%%RUBY_DOCDIR%%/rudl/README