summaryrefslogtreecommitdiff
path: root/textproc/ruby-redcloth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ruby-redcloth/Makefile')
-rw-r--r--textproc/ruby-redcloth/Makefile23
1 files changed, 6 insertions, 17 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"