* 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
35 lines
872 B
Makefile
35 lines
872 B
Makefile
# $NetBSD: Makefile,v 1.3 2010/09/10 08:13:23 taca Exp $
|
|
#
|
|
|
|
DISTNAME= hikidoc-0.0.6
|
|
CATEGORIES= textproc converters ruby
|
|
MASTER_SITES= http://rubyforge.org/frs/download.php/72253/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
HOMEPAGE= http://projects.netlab.jp/hikidoc/
|
|
COMMENT= Text-to-HTML conversion tool for web writers
|
|
LICENSE= modified-bsd
|
|
|
|
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
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|