summaryrefslogtreecommitdiff
path: root/devel/ruby-sdl
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-04-03 14:29:45 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-04-03 14:29:45 +0000
commit8953e2560ad826c9b4a65966ad57eca252d41494 (patch)
treedcda128d86bf2db9db00afd0f7c30cc2edaf72a8 /devel/ruby-sdl
parentCorrect location of depend object (MD5.pm). (diff)
Apply a temporary fix for SDL 1.2.0.
Notes
Notes: svn path=/head/; revision=40811
Diffstat (limited to 'devel/ruby-sdl')
-rw-r--r--devel/ruby-sdl/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/ruby-sdl/Makefile b/devel/ruby-sdl/Makefile
index 8566e890c73e..a8e71a05cf0b 100644
--- a/devel/ruby-sdl/Makefile
+++ b/devel/ruby-sdl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sdl
PORTVERSION= 0.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel graphics audio ruby
MASTER_SITES= http://www.kmc.kyoto-u.ac.jp/~ohai/rubysdl/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -35,6 +35,9 @@ RD_DOCS_JA= rubysdl_doc.rd
DOCS_EN= rubysdl_const_list.txt
DOCS_JA= README ${RD_DOCS_JA} ${RD_DOCS_JA:S/.rd$/.html/}
+post-patch:
+ ${RUBY} -i -pe 'gsub /EVENT_RESERVED1/, "VIDEOEXPOSE"' ${WRKSRC}/*.c
+
post-build:
.if !defined(NOPORTDOCS)
.for f in ${RD_DOCS_JA}