mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
Update to 0.2.
This commit is contained in:
parent
c43976b9b2
commit
1c4294e2e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41555
4 changed files with 14 additions and 36 deletions
|
@ -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}
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (ruby/rudl-0.1.tar.gz) = c7c0ec7be27aaec8f2a35841cd41b334
|
||||
MD5 (ruby/rudl-0.2.tar.gz) = ca7ff46fe757fb7793e9f7dac84917a8
|
||||
|
|
|
@ -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')
|
||||
- have_library('SDLmain') and
|
||||
+if have_func('SDL_Quit') and
|
||||
have_header('SDL.h') then
|
||||
|
||||
- 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
|
||||
|
||||
+if makeMakefile then create_makefile('RuDL') end
|
||||
create_makefile('RuDL')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue