Annotation of pkgsrc/textproc/ruby-nqxml/Makefile, Revision 1.15
1.15 ! wiz 1: # $NetBSD: Makefile,v 1.14 2012/10/25 06:56:58 asau Exp $
1.1 taca 2: #
3:
4: DISTNAME= nqxml-1.1.3p1
1.3 taca 5: PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/p/./}
1.11 taca 6: PKGREVISION= 2
1.2 taca 7: CATEGORIES= textproc ruby
1.9 wiz 8: MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nqxml/}
1.1 taca 9:
10: MAINTAINER= neumann@s-direktnet.de
1.15 ! wiz 11: HOMEPAGE= https://sourceforge.net/projects/nqxml/
1.1 taca 12: COMMENT= XML parser written in pure Ruby
1.13 taca 13: LICENSE= ruby-license
1.1 taca 14:
15: NO_BUILD= yes
1.6 taca 16: USE_RUBY_INSTALL= yes
1.1 taca 17:
18: DOC= README
19: EXAMPLES= data.xml doc.xml dumpXML.rb parseTestStream.rb \
20: parseTestTree.rb printEntityClassNames.rb \
21: reverseTags.rb reverseText.rb write.rb \
22: write.rb writeManualDoc.rb writeParsedDoc.rb
23: CONTRIB_LIB= autodis_1.rb autodis_2.rb
24: TESTS= dispatchertester.rb oasis.rb streamingparsertester.rb test.rb \
25: testresource.rb tokenizertester.rb treeparsertester.rb \
26: writertester.rb
1.10 jlam 27: REPLACE_RUBY_DIRS= examples tests
1.1 taca 28:
1.12 taca 29: INSTALL_TARGET= install \
30: --install-dir=${DESTDIR}${PREFIX}/${RUBY_VENDORLIB}
1.11 taca 31: INSTALLATION_DIRS= ${RUBY_DOC}/nqxml ${RUBY_EG}/nqxml/contrib \
32: ${RUBY_EG}/nqxml/tests
33:
1.1 taca 34: post-install:
35: .for f in ${DOC}
1.11 taca 36: ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/nqxml
1.1 taca 37: .endfor
38: .for f in ${EXAMPLES}
1.11 taca 39: ${INSTALL_DATA} ${WRKSRC}/examples/${f} \
40: ${DESTDIR}${PREFIX}/${RUBY_EG}/nqxml
1.1 taca 41: .endfor
42: .for f in ${CONTRIB_LIB}
1.4 taca 43: ${INSTALL_DATA} ${WRKSRC}/contrib/${f} \
1.11 taca 44: ${DESTDIR}${PREFIX}/${RUBY_EG}/nqxml/contrib
1.1 taca 45: .endfor
46: .for f in ${TESTS}
1.11 taca 47: ${INSTALL_DATA} ${WRKSRC}/tests/${f} \
48: ${DESTDIR}${PREFIX}/${RUBY_EG}/nqxml/tests
1.1 taca 49: .endfor
50:
1.3 taca 51: .include "../../lang/ruby/modules.mk"
1.1 taca 52: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>