summaryrefslogtreecommitdiff
path: root/textproc/ruby-redcloth
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-04 15:30:00 +0000
committerjlam <jlam>2008-04-04 15:30:00 +0000
commitbb91d465009f79ffc1ee660432fbd12aad691235 (patch)
treec080e0fce7907456de3fe1768865d098adfb51fd /textproc/ruby-redcloth
parent1ebdb6a8c63c975993409595260329bc685edc2b (diff)
downloadpkgsrc-bb91d465009f79ffc1ee660432fbd12aad691235.tar.gz
Install as a gem using the pkgsrc rubygem.mk framework instead of
directly into site_ruby.
Diffstat (limited to 'textproc/ruby-redcloth')
-rw-r--r--textproc/ruby-redcloth/Makefile23
-rw-r--r--textproc/ruby-redcloth/PLIST34
-rw-r--r--textproc/ruby-redcloth/distinfo8
3 files changed, 38 insertions, 27 deletions
diff --git a/textproc/ruby-redcloth/Makefile b/textproc/ruby-redcloth/Makefile
index 0f27662d0cd..9ff7db85549 100644
--- a/textproc/ruby-redcloth/Makefile
+++ b/textproc/ruby-redcloth/Makefile
@@ -1,26 +1,15 @@
-# $NetBSD: Makefile,v 1.8 2007/10/03 14:45:42 heinz Exp $
+# $NetBSD: Makefile,v 1.9 2008/04/04 15:30:01 jlam Exp $
-DISTNAME= RedCloth-${VERSION}
-PKGNAME= ${RUBY_PKGPREFIX}-redcloth-${VERSION}
-PKGREVISION= 1
+DISTNAME= RedCloth-3.0.4
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:tl}
+PKGREVISION= 2
CATEGORIES= textproc
-MASTER_SITES= http://rubyforge.org/frs/download.php/6064/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.whytheluckystiff.net/ruby/redcloth/
COMMENT= Textile library for Ruby
-VERSION= 3.0.4
-REPLACE_RUBY= ${WRKSRC}/bin/redcloth
-USE_RUBY_SETUP= yes
+GEM_BUILD= gemspec
-DOCS= CHANGELOG README REFERENCE
-
-post-install:
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/redcloth
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${RUBY_DOCDIR}/redcloth
-.endfor
-
-.include "../../lang/ruby/modules.mk"
+.include "../../misc/rubygems/rubygem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-redcloth/PLIST b/textproc/ruby-redcloth/PLIST
index 1646f2ab22d..eaa5e59a0cf 100644
--- a/textproc/ruby-redcloth/PLIST
+++ b/textproc/ruby-redcloth/PLIST
@@ -1,7 +1,29 @@
-@comment $NetBSD: PLIST,v 1.5 2006/09/07 15:55:50 taca Exp $
+@comment $NetBSD: PLIST,v 1.6 2008/04/04 15:30:01 jlam Exp $
bin/redcloth
-${RUBY_SITELIBDIR}/redcloth.rb
-${RUBY_DOCDIR}/redcloth/CHANGELOG
-${RUBY_DOCDIR}/redcloth/README
-${RUBY_DOCDIR}/redcloth/REFERENCE
-@dirrm ${RUBY_DOCDIR}/redcloth
+${GEM_HOME}/cache/RedCloth-${PKGVERSION}.gem
+${GEM_LIBDIR}/bin/redcloth
+${GEM_LIBDIR}/doc/CHANGELOG
+${GEM_LIBDIR}/doc/COPYING
+${GEM_LIBDIR}/doc/README
+${GEM_LIBDIR}/doc/REFERENCE
+${GEM_LIBDIR}/doc/make.rb
+${GEM_LIBDIR}/lib/redcloth.rb
+${GEM_LIBDIR}/run-tests.rb
+${GEM_LIBDIR}/setup.rb
+${GEM_LIBDIR}/tests/code.yml
+${GEM_LIBDIR}/tests/hard_breaks.yml
+${GEM_LIBDIR}/tests/images.yml
+${GEM_LIBDIR}/tests/instiki.yml
+${GEM_LIBDIR}/tests/links.yml
+${GEM_LIBDIR}/tests/lists.yml
+${GEM_LIBDIR}/tests/markdown.yml
+${GEM_LIBDIR}/tests/poignant.yml
+${GEM_LIBDIR}/tests/table.yml
+${GEM_LIBDIR}/tests/textism.yml
+${GEM_HOME}/specifications/RedCloth-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/tests
+@dirrm ${GEM_LIBDIR}/lib
+@dirrm ${GEM_LIBDIR}/doc
+@dirrm ${GEM_LIBDIR}/bin
+@dirrm ${GEM_LIBDIR}
+@exec ${MKDIR} %D/${GEM_DOCDIR}
diff --git a/textproc/ruby-redcloth/distinfo b/textproc/ruby-redcloth/distinfo
index b4a2c8f6d70..8d9c5d68b7b 100644
--- a/textproc/ruby-redcloth/distinfo
+++ b/textproc/ruby-redcloth/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2006/01/03 14:25:51 taca Exp $
+$NetBSD: distinfo,v 1.6 2008/04/04 15:30:01 jlam Exp $
-SHA1 (RedCloth-3.0.4.tar.gz) = 44b320f34512a747ac60fe9d80a8e325ac1270e8
-RMD160 (RedCloth-3.0.4.tar.gz) = 1bbb5039940a861818eab685aa1be63b357f6a5e
-Size (RedCloth-3.0.4.tar.gz) = 38666 bytes
+SHA1 (RedCloth-3.0.4.gem) = cfc69c6648b5f1b7b4fd426ccefda4d016bc850f
+RMD160 (RedCloth-3.0.4.gem) = 6e925e2c598d8ce6bdfc8a0de63e56f2d263be35
+Size (RedCloth-3.0.4.gem) = 41984 bytes