summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/rubyforge/Makefile32
-rw-r--r--devel/rubyforge/PLIST26
-rw-r--r--devel/rubyforge/distinfo8
3 files changed, 27 insertions, 39 deletions
diff --git a/devel/rubyforge/Makefile b/devel/rubyforge/Makefile
index 406fb11e142..3b3c75fb812 100644
--- a/devel/rubyforge/Makefile
+++ b/devel/rubyforge/Makefile
@@ -1,35 +1,13 @@
-# $NetBSD: Makefile,v 1.3 2008/03/03 17:45:37 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2008/04/04 15:19:03 jlam Exp $
-DISTNAME= rubyforge-0.4.2
-CATEGORIES= devel ruby
-MASTER_SITES= http://rubyforge.org/frs/download.php/20911/
-EXTRACT_SUFX= .gem
+DISTNAME= rubyforge-0.4.5
+CATEGORIES= devel
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://rubyforge.org/projects/codeforpeople/
COMMENT= Simplistic script automating RubyForge operations
-PKG_DESTDIR_SUPPORT= user-destdir
-
-NO_BUILD= yes
-USE_LANGUAGES= # none
-REPLACE_RUBY= bin/rubyforge
-
-INSTALLATION_DIRS= bin
-
-.include "../../lang/ruby/modules.mk"
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/rubyforge ${DESTDIR}${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_SITELIBDIR}/http-access2
- ${INSTALL_DATA} ${WRKSRC}/lib/http-access2/* \
- ${DESTDIR}${RUBY_SITELIBDIR}/http-access2
- ${INSTALL_DATA} ${WRKSRC}/lib/http-access2.rb \
- ${DESTDIR}${RUBY_SITELIBDIR}
- ${INSTALL_DATA} ${WRKSRC}/lib/rubyforge.rb \
- ${DESTDIR}${RUBY_SITELIBDIR}
- ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR}/rubyforge
- ${INSTALL_DATA} ${WRKSRC}/README.txt \
- ${DESTDIR}${RUBY_DOCDIR}/rubyforge
+GEM_BUILD= gemspec
+.include "../../misc/rubygems/rubygem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/rubyforge/PLIST b/devel/rubyforge/PLIST
index dcf3a9f37fe..0179c511120 100644
--- a/devel/rubyforge/PLIST
+++ b/devel/rubyforge/PLIST
@@ -1,9 +1,19 @@
-@comment $NetBSD: PLIST,v 1.2 2007/06/11 03:13:11 minskim Exp $
+@comment $NetBSD: PLIST,v 1.3 2008/04/04 15:19:03 jlam Exp $
bin/rubyforge
-${RUBY_SITELIBDIR}/http-access2/cookie.rb
-${RUBY_SITELIBDIR}/http-access2/http.rb
-${RUBY_SITELIBDIR}/http-access2.rb
-${RUBY_SITELIBDIR}/rubyforge.rb
-${RUBY_DOCDIR}/rubyforge/README.txt
-@dirrm ${RUBY_DOCDIR}/rubyforge
-@dirrm ${RUBY_SITELIBDIR}/http-access2
+${GEM_HOME}/cache/rubyforge-${PKGVERSION}.gem
+${GEM_LIBDIR}/History.txt
+${GEM_LIBDIR}/Manifest.txt
+${GEM_LIBDIR}/README.txt
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/bin/rubyforge
+${GEM_LIBDIR}/lib/http-access2.rb
+${GEM_LIBDIR}/lib/http-access2/cookie.rb
+${GEM_LIBDIR}/lib/http-access2/http.rb
+${GEM_LIBDIR}/lib/rubyforge.rb
+${GEM_LIBDIR}/test/test_rubyforge.rb
+${GEM_HOME}/specifications/rubyforge-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/test
+@dirrm ${GEM_LIBDIR}/lib/http-access2
+@dirrm ${GEM_LIBDIR}/lib
+@dirrm ${GEM_LIBDIR}/bin
+@dirrm ${GEM_LIBDIR}
diff --git a/devel/rubyforge/distinfo b/devel/rubyforge/distinfo
index 687622b0b5c..769a06217ec 100644
--- a/devel/rubyforge/distinfo
+++ b/devel/rubyforge/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/06/11 03:05:44 minskim Exp $
+$NetBSD: distinfo,v 1.2 2008/04/04 15:19:03 jlam Exp $
-SHA1 (rubyforge-0.4.2.gem) = f5bfc0e4bb99f7d7ecd1b596dfa8f27f6e357564
-RMD160 (rubyforge-0.4.2.gem) = 6307d63de22e08a82d62adc420a7c70f4ec7361f
-Size (rubyforge-0.4.2.gem) = 28672 bytes
+SHA1 (rubyforge-0.4.5.gem) = adec775c25d042966c08fa004cc7ff0778fc3c3b
+RMD160 (rubyforge-0.4.5.gem) = f58e9869e532e71152621f88aae17b46cd5c2ee4
+Size (rubyforge-0.4.5.gem) = 29696 bytes