summaryrefslogtreecommitdiff
path: root/textproc/ruby-hikidoc/Makefile
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-10 08:13:23 +0000
committertaca <taca@pkgsrc.org>2010-09-10 08:13:23 +0000
commit7074725ce77df562ece91c281e3cb2c37ae46ee4 (patch)
treeab01c092804438e190c94a3352cf5639ded98969 /textproc/ruby-hikidoc/Makefile
parent4d15b7a8b30a3d78936d7f227174a4251f8c4a7e (diff)
downloadpkgsrc-7074725ce77df562ece91c281e3cb2c37ae46ee4.tar.gz
Update textproc/ruby-hikidoc to 0.0.6.
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Ajust new ruby package's framework. !! Changes 0.0.6 from 0.0.5: 2010-08-28 * fix missing NEWS.ja for packaging
Diffstat (limited to 'textproc/ruby-hikidoc/Makefile')
-rw-r--r--textproc/ruby-hikidoc/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/textproc/ruby-hikidoc/Makefile b/textproc/ruby-hikidoc/Makefile
index f2dc7fc3ccf..a52dd89bc11 100644
--- a/textproc/ruby-hikidoc/Makefile
+++ b/textproc/ruby-hikidoc/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2010/08/27 05:06:17 obache Exp $
+# $NetBSD: Makefile,v 1.3 2010/09/10 08:13:23 taca Exp $
#
-DISTNAME= hikidoc-0.0.5
-PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+DISTNAME= hikidoc-0.0.6
CATEGORIES= textproc converters ruby
-MASTER_SITES= http://rubyforge.org/frs/download.php/72248/
+MASTER_SITES= http://rubyforge.org/frs/download.php/72253/
EXTRACT_SUFX= .tgz
MAINTAINER= obache@NetBSD.org
@@ -17,7 +16,17 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
USE_RUBY_SETUP= YES
+DOCDIR= ${RUBY_DOC}/hikidoc
+DOCS= NEWS NEWS.ja README README.ja \
+ TextFormattingRules TextFormattingRules.ja
+
CONFIGURE_ARGS+= --siterubyver=${PREFIX}/${RUBY_VENDORLIB}
+INSTALLATION_DIRS= ${RUBY_DOC}/hikidoc
+
+post-install:
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
+.endfor
do-test:
${RUN} cd ${WRKSRC}; ${RUBY} test/run-test.rb