aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-gemfinder
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-gemfinder')
-rw-r--r--devel/ruby-gemfinder/Makefile19
-rw-r--r--devel/ruby-gemfinder/distinfo6
-rw-r--r--devel/ruby-gemfinder/pkg-descr2
-rw-r--r--devel/ruby-gemfinder/pkg-plist8
4 files changed, 17 insertions, 18 deletions
diff --git a/devel/ruby-gemfinder/Makefile b/devel/ruby-gemfinder/Makefile
index e79829c1e546..ff4169632296 100644
--- a/devel/ruby-gemfinder/Makefile
+++ b/devel/ruby-gemfinder/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= gemfinder
-PORTVERSION= 1.8
+PORTVERSION= 1.9.6
CATEGORIES= devel ruby
-MASTER_SITES= ftp://ftp.one.net/pub/users/jweirich/tools/gemfinder/
+MASTER_SITES= http://onestepback.org/packages/gemfinder/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ruby
@@ -22,25 +22,16 @@ USE_RUBY= yes
NO_BUILD= yes
-RUBY_RD_FILES= gemfinder.rd
+RUBY_RD_FILES= doc/gemfinder.rd
RUBY_SHEBANG_FILES= ${WRKSRC}/gemfinder
DOCS= README \
${RUBY_RD_FILES} \
${RUBY_RD_HTML_FILES}
-.include <bsd.port.pre.mk>
-
-post-patch:
- ${RUBY} -i -pe 'sub(/<BODY>/, "<BODY bgcolor=\"#ffffff\">")' \
- ${WRKSRC}/gemfinder.rd
-
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/gemfinder ${PREFIX}/bin/
-
-post-install: doc-install
+ (cd ${WRKSRC}; ./install.rb --prefix=${PREFIX} --sitedir=${RUBY_SITELIBDIR})
-doc-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
@@ -48,4 +39,4 @@ doc-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/ruby-gemfinder/distinfo b/devel/ruby-gemfinder/distinfo
index 7c2f92bd52e2..8af9ae61f076 100644
--- a/devel/ruby-gemfinder/distinfo
+++ b/devel/ruby-gemfinder/distinfo
@@ -1,3 +1,3 @@
-MD5 (ruby/gemfinder-1.8.tgz) = 1cfa7fc8030bb9b6315d297c1abf68d7
-SHA256 (ruby/gemfinder-1.8.tgz) = f4bff6b796a7781c38092f63f48a04be6b2df9414b76c0aa3ffa305dcf77c09a
-SIZE (ruby/gemfinder-1.8.tgz) = 5111
+MD5 (ruby/gemfinder-1.9.6.tgz) = 94fcb40f424e806644f8ff8f3ccec188
+SHA256 (ruby/gemfinder-1.9.6.tgz) = 2d1320111b60fd81af9ac6af0a8c7dec5761a696bed211a4e30ef0359c3377ad
+SIZE (ruby/gemfinder-1.9.6.tgz) = 17263
diff --git a/devel/ruby-gemfinder/pkg-descr b/devel/ruby-gemfinder/pkg-descr
index 666ed8830c9f..6ff586cdafa1 100644
--- a/devel/ruby-gemfinder/pkg-descr
+++ b/devel/ruby-gemfinder/pkg-descr
@@ -3,4 +3,4 @@ modules/programs. It allows a user to view the superclass,
subclasses, included modules and methods of any class in the system.
Author: Jim Weirich <jweirich@one.net>
-WWW: http://w3.one.net/~jweirich/tools/gemfinder/
+WWW: http://onestepback.org/packages/gemfinder/
diff --git a/devel/ruby-gemfinder/pkg-plist b/devel/ruby-gemfinder/pkg-plist
index 532e66f668f3..5518f2c7eba6 100644
--- a/devel/ruby-gemfinder/pkg-plist
+++ b/devel/ruby-gemfinder/pkg-plist
@@ -1,5 +1,13 @@
bin/gemfinder
+%%RUBY_SITELIBDIR%%/gem/gemgui.rb
+%%RUBY_SITELIBDIR%%/gem/inject.rb
+%%RUBY_SITELIBDIR%%/gem/listmodels.rb
+%%RUBY_SITELIBDIR%%/gem/methodfinder.rb
+%%RUBY_SITELIBDIR%%/gem/utils.rb
+%%RUBY_SITELIBDIR%%/gem/version.rb
+%%RUBY_SITELIBDIR%%/gem/whenmissing.rb
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/gemfinder.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/gemfinder.rd
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
+@dirrm %%RUBY_SITELIBDIR%%/gem