Index: head/devel/ruby-slang/Makefile =================================================================== --- head/devel/ruby-slang/Makefile (revision 35717) +++ head/devel/ruby-slang/Makefile (revision 35718) @@ -1,64 +1,63 @@ # New ports collection makefile for: Ruby-slang (slanglib) # Date created: 23 Aug 2000 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # 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 MAINTAINER= knu@FreeBSD.org .if defined(WITH_JAPANESE) LIB_DEPENDS= slang.2:${PORTSDIR}/japanese/libslang .else LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang .endif USE_RUBY= yes USE_RUBY_EXTCONF= yes CONFIGURE_ARGS= --with-slang-include="${LOCALBASE}/include/slang" \ --with-slang-lib="${LOCALBASE}/lib" INSTALL_TARGET= site-install EXAMPLES_EN= fm.rb smgtest.rb urlview.rb EXAMPLES_JA= pager.rb DOCS_EN= README changes.txt DOCS_JA= README.euc .include .if defined(PKGNAMEPREFIX) PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX} .else PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} .endif post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_EXAMPLESDIR}/slang/ja .for f in ${EXAMPLES_EN} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/slang/ .endfor .for f in ${EXAMPLES_JA} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/slang/ja/ .endfor ${MKDIR} ${RUBY_DOCDIR}/slang/ja .for f in ${DOCS_EN} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/slang/ .endfor .for f in ${DOCS_JA} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/slang/ja/ .endfor .endif .include Property changes on: head/devel/ruby-slang/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.7 \ No newline at end of property +1.8 \ No newline at end of property Index: head/devel/ruby-slang/distinfo =================================================================== --- head/devel/ruby-slang/distinfo (revision 35717) +++ head/devel/ruby-slang/distinfo (revision 35718) @@ -1 +1 @@ -MD5 (ruby/slanglib.tar.gz) = 5454c9b6ade224e67e84a0bc1b16c76a +MD5 (ruby/slanglib.tar.gz) = 9365ccbae2cbe2c1a36508607a8bedc4 Property changes on: head/devel/ruby-slang/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/devel/ruby-slang/files/patch-ab =================================================================== --- head/devel/ruby-slang/files/patch-ab (revision 35717) +++ head/devel/ruby-slang/files/patch-ab (nonexistent) @@ -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; Property changes on: head/devel/ruby-slang/files/patch-ab ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/devel/ruby-slang/files/patch-aa =================================================================== --- head/devel/ruby-slang/files/patch-aa (revision 35717) +++ head/devel/ruby-slang/files/patch-aa (revision 35718) @@ -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 Property changes on: head/devel/ruby-slang/files/patch-aa ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property