Tested on i386, regress depends on rdoc, some crap files removed. jirib
Index: Makefile =================================================================== RCS file: /data/cvsroot/OpenBSD/ports/devel/ruby-highline/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 16 Sep 2011 09:24:57 -0000 1.10 +++ Makefile 8 Jan 2012 01:36:41 -0000 @@ -2,8 +2,7 @@ COMMENT = high-level IO library for Ruby -DISTNAME = highline-1.5.1 -REVISION = 4 +DISTNAME = highline-1.6.9 CATEGORIES = devel HOMEPAGE = http://highline.rubyforge.org/ @@ -19,5 +18,13 @@ CONFIGURE_STYLE = ruby gem MODRUBY_REGRESS= rake + +REGRESS_DEPENDS = devel/ruby-rdoc,${MODRUBY_FLAVOR} + +post-install: + @find ${PREFIX}/${GEM_LIB}/ -type f -name \*.gitignore \ + -or -name \*.cvsignore -or -name Rakefile \ + -or -name setup.rb | xargs rm + @rmdir ${PREFIX}/${GEM_LIB}/gems/${DISTNAME}/doc .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /data/cvsroot/OpenBSD/ports/devel/ruby-highline/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 19 May 2009 22:31:45 -0000 1.3 +++ distinfo 8 Jan 2012 01:04:05 -0000 @@ -1,5 +1,5 @@ -MD5 (highline-1.5.1.gem) = 4BT/pTCLGpiY4f394uBwyQ== -RMD160 (highline-1.5.1.gem) = irsX6P/CZb49tly/KAYyc6NooC8= -SHA1 (highline-1.5.1.gem) = GFaCtmLOXYkR3niSLKEsLYmsG9I= -SHA256 (highline-1.5.1.gem) = MQXXyKbqDglzlUSdxIoedm+QqYtEAZTpKzEwHQJYXGk= -SIZE (highline-1.5.1.gem) = 55296 +MD5 (highline-1.6.9.gem) = +D7sFDu/KjWYLmDZTJ4k5g== +RMD160 (highline-1.6.9.gem) = vdA3Q/q/5t3R+/VOsgAp7nW2c0c= +SHA1 (highline-1.6.9.gem) = YCanwNjWinJmjA2dijQzUbI4l6g= +SHA256 (highline-1.6.9.gem) = ZU7a7dFRxm4e+OCefmzub/AreaO7ofrNdJyTrxj+zPg= +SIZE (highline-1.6.9.gem) = 217088 Index: pkg/PLIST =================================================================== RCS file: /data/cvsroot/OpenBSD/ports/devel/ruby-highline/pkg/PLIST,v retrieving revision 1.4 diff -u -r1.4 PLIST --- pkg/PLIST 8 Nov 2010 23:24:40 -0000 1.4 +++ pkg/PLIST 8 Jan 2012 01:37:05 -0000 @@ -1,11 +1,12 @@ -@comment $OpenBSD: PLIST,v 1.4 2010/11/08 23:24:40 jeremy Exp $ +@comment $OpenBSD$ ${GEM_LIB}/cache/${DISTNAME}.gem ${GEM_LIB}/gems/${DISTNAME}/ +${GEM_LIB}/gems/${DISTNAME}/AUTHORS ${GEM_LIB}/gems/${DISTNAME}/CHANGELOG +${GEM_LIB}/gems/${DISTNAME}/COPYING ${GEM_LIB}/gems/${DISTNAME}/INSTALL ${GEM_LIB}/gems/${DISTNAME}/LICENSE ${GEM_LIB}/gems/${DISTNAME}/README -${GEM_LIB}/gems/${DISTNAME}/Rakefile ${GEM_LIB}/gems/${DISTNAME}/TODO ${GEM_LIB}/gems/${DISTNAME}/examples/ ${GEM_LIB}/gems/${DISTNAME}/examples/ansi_colors.rb @@ -19,6 +20,7 @@ ${GEM_LIB}/gems/${DISTNAME}/examples/password.rb ${GEM_LIB}/gems/${DISTNAME}/examples/trapping_eof.rb ${GEM_LIB}/gems/${DISTNAME}/examples/using_readline.rb +${GEM_LIB}/gems/${DISTNAME}/highline.gemspec ${GEM_LIB}/gems/${DISTNAME}/lib/ ${GEM_LIB}/gems/${DISTNAME}/lib/highline/ ${GEM_LIB}/gems/${DISTNAME}/lib/highline.rb @@ -27,12 +29,22 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/highline/import.rb ${GEM_LIB}/gems/${DISTNAME}/lib/highline/menu.rb ${GEM_LIB}/gems/${DISTNAME}/lib/highline/question.rb +${GEM_LIB}/gems/${DISTNAME}/lib/highline/string_extensions.rb +${GEM_LIB}/gems/${DISTNAME}/lib/highline/style.rb ${GEM_LIB}/gems/${DISTNAME}/lib/highline/system_extensions.rb -${GEM_LIB}/gems/${DISTNAME}/setup.rb +${GEM_LIB}/gems/${DISTNAME}/site/ +${GEM_LIB}/gems/${DISTNAME}/site/highline.css +${GEM_LIB}/gems/${DISTNAME}/site/images/ +${GEM_LIB}/gems/${DISTNAME}/site/images/logo.png +${GEM_LIB}/gems/${DISTNAME}/site/index.html ${GEM_LIB}/gems/${DISTNAME}/test/ +${GEM_LIB}/gems/${DISTNAME}/test/string_methods.rb ${GEM_LIB}/gems/${DISTNAME}/test/tc_color_scheme.rb ${GEM_LIB}/gems/${DISTNAME}/test/tc_highline.rb ${GEM_LIB}/gems/${DISTNAME}/test/tc_import.rb ${GEM_LIB}/gems/${DISTNAME}/test/tc_menu.rb +${GEM_LIB}/gems/${DISTNAME}/test/tc_string_extension.rb +${GEM_LIB}/gems/${DISTNAME}/test/tc_string_highline.rb +${GEM_LIB}/gems/${DISTNAME}/test/tc_style.rb ${GEM_LIB}/gems/${DISTNAME}/test/ts_all.rb ${GEM_LIB}/specifications/${DISTNAME}.gemspec