diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-12-06 15:37:38 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-12-06 15:37:38 +0000 |
commit | 5c87e87214074d016877b8f329a70d8f7b71ea0d (patch) | |
tree | e9d17a56ddd06316daa819ef76bb8c431e8ecc8c /devel/ruby-slang | |
parent | An abbreviation (alphabet-->Japanese) dictionary (EPWING V1 format) (diff) |
Update to 0.51.
Notes
Notes:
svn path=/head/; revision=35718
Diffstat (limited to 'devel/ruby-slang')
-rw-r--r-- | devel/ruby-slang/Makefile | 5 | ||||
-rw-r--r-- | devel/ruby-slang/distinfo | 2 | ||||
-rw-r--r-- | devel/ruby-slang/files/patch-aa | 33 | ||||
-rw-r--r-- | devel/ruby-slang/files/patch-ab | 11 |
4 files changed, 17 insertions, 34 deletions
diff --git a/devel/ruby-slang/Makefile b/devel/ruby-slang/Makefile index 569e2cd2df61..e61827a50f3c 100644 --- a/devel/ruby-slang/Makefile +++ b/devel/ruby-slang/Makefile @@ -6,11 +6,10 @@ # PORTNAME= slang -PORTVERSION= 0.33.a -PORTREVISION= 1 +PORTVERSION= 0.51 CATEGORIES+= devel ruby MASTER_SITES= ${MASTER_SITE_LOCAL} \ - http://kondara.sdri.co.jp/~kikutani/ + http://www.kondara.org/~g/ MASTER_SITE_SUBDIR= knu DISTNAME= ${PORTNAME}lib DIST_SUBDIR= ruby diff --git a/devel/ruby-slang/distinfo b/devel/ruby-slang/distinfo index 48b39aad0df6..8f6ccae85215 100644 --- a/devel/ruby-slang/distinfo +++ b/devel/ruby-slang/distinfo @@ -1 +1 @@ -MD5 (ruby/slanglib.tar.gz) = 5454c9b6ade224e67e84a0bc1b16c76a +MD5 (ruby/slanglib.tar.gz) = 9365ccbae2cbe2c1a36508607a8bedc4 diff --git a/devel/ruby-slang/files/patch-aa b/devel/ruby-slang/files/patch-aa index 05b3f23aba77..8bd487ca4605 100644 --- a/devel/ruby-slang/files/patch-aa +++ b/devel/ruby-slang/files/patch-aa @@ -1,40 +1,35 @@ ---- extconf.rb.orig Mon Dec 20 09:45:03 1999 -+++ extconf.rb Wed Aug 23 12:52:07 2000 -@@ -1,19 +1,8 @@ +--- extconf.rb.orig Thu Mar 23 08:09:27 2000 ++++ extconf.rb Thu Dec 7 00:34:39 2000 +@@ -1,17 +1,8 @@ require "mkmf" --$CFLAGS="-I"+ENV['HOME']+"/include -I/usr/include/slang-ja -I/usr/include/slang -I/usr/include -I/usr/local/include/slang-ja -I/usr/local/include/slang -I/usr/local/include" +-$CFLAGS="-I"+ENV['HOME']+"/include -I/usr/include/slang -I/usr/include -I/usr/local/include/slang-ja -I/usr/local/include/slang -I/usr/local/include" -$LDFLAGS="-L"+ENV['HOME']+"/lib -L/usr/lib -L/usr/local/lib" +dir_config("slang") if have_header("slang.h") -- if have_library("slang-ja", "SLsmg_refresh") -- $LDFLAGS += " -lslang-ja" -- elsif have_library("slang", "SLsmg_refresh") +- if have_library("slang", "SLsmg_refresh") - $LDFLAGS += " -lslang" - else - exit - end -- for f in ["kanji_pos", "IsKcode"] -- have_func(f) -- end +-# for f in ["kanji_pos", "IsKcode"] +-# have_func(f) +-# end termcap = true for mid in %w(lib share share/lib local/lib) if FileTest.directory? "/usr/#{mid}/terminfo" -@@ -23,6 +12,16 @@ - end +@@ -22,5 +13,13 @@ if termcap $libs += " -ltermcap " -+ end -+ if have_library("slang-ja", "SLsmg_refresh") -+ $LDFLAGS += " -lslang-ja" -+ elsif have_library("slang", "SLsmg_refresh") + end ++ if have_library("slang", "SLsmg_refresh") + $LDFLAGS += " -lslang" + else + exit + end -+ for f in ["kanji_pos", "IsKcode"] -+ have_func(f) - end ++# for f in ["kanji_pos", "IsKcode"] ++# have_func(f) ++# end create_makefile("slanglib") end diff --git a/devel/ruby-slang/files/patch-ab b/devel/ruby-slang/files/patch-ab deleted file mode 100644 index a244cc67a551..000000000000 --- a/devel/ruby-slang/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- slmodule.c.orig Sat Dec 18 17:35:32 1999 -+++ slmodule.c Thu Feb 3 23:22:05 2000 -@@ -1321,7 +1321,7 @@ - tab_pos = SLsmg_Tab_Width; - d_end = buf + buf_size; - for (d = buf, pp = s; -- pp < d_end -1 && *pp != '\n' && *pp != '\0';) -+ d < d_end -1 && *pp != '\n' && *pp != '\0';) - if ('\t' == *pp) { - while (d - buf + cur_col >= tab_pos) - tab_pos += SLsmg_Tab_Width; |