pkgsrc/textproc/ruby-nqxml/Makefile

49 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.8 2007/03/15 16:46:13 taca Exp $
#
DISTNAME= nqxml-1.1.3p1
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/p/./}
PKGREVISION= 1
2004-03-16 03:01:09 +01:00
CATEGORIES= textproc ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nqxml/} \
http://rrr.jin.gr.jp/download/
MAINTAINER= neumann@s-direktnet.de
HOMEPAGE= http://sourceforge.net/projects/nqxml/
COMMENT= XML parser written in pure Ruby
NO_BUILD= yes
USE_RUBY_INSTALL= yes
DOC= README
EXAMPLES= data.xml doc.xml dumpXML.rb parseTestStream.rb \
parseTestTree.rb printEntityClassNames.rb \
reverseTags.rb reverseText.rb write.rb \
write.rb writeManualDoc.rb writeParsedDoc.rb
CONTRIB_LIB= autodis_1.rb autodis_2.rb
TESTS= dispatchertester.rb oasis.rb streamingparsertester.rb test.rb \
testresource.rb tokenizertester.rb treeparsertester.rb \
writertester.rb
REPLACE_RUBY_DIRS= ${WRKSRC}/examples ${WRKSRC}/tests
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/nqxml
.for f in ${DOC}
2005-03-06 14:05:38 +01:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/nqxml
.endfor
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/nqxml/contrib
.for f in ${EXAMPLES}
2005-03-06 14:05:38 +01:00
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_EXAMPLESDIR}/nqxml
.endfor
.for f in ${CONTRIB_LIB}
2005-03-06 14:05:38 +01:00
${INSTALL_DATA} ${WRKSRC}/contrib/${f} \
${RUBY_EXAMPLESDIR}/nqxml/contrib
.endfor
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/nqxml/tests
.for f in ${TESTS}
2005-03-06 14:05:38 +01:00
${INSTALL_DATA} ${WRKSRC}/tests/${f} ${RUBY_EXAMPLESDIR}/nqxml/tests
.endfor
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"