blob: b30bc39348237632a02ba5a4562e4039a5d982e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.4 2008/05/26 02:13:24 joerg Exp $
#
DISTNAME= xmlscan-${VER}
PKGNAME= ${RUBY_PKGPREFIX}-xmlscan-${VER}
CATEGORIES= textproc ruby
MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/xmlscan/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://www.blue.sky.or.jp/atelier/ruby/xmlscan/
COMMENT= Pure Ruby XML parser
VER= 0.2.3
NO_BUILD= yes
USE_RUBY_INSTALL= yes
USE_TOOLS+= pax
REPLACE_RUBY= samples/getxmlchar.rb samples/xmlbench.rb \
samples/xmlconftest.rb
DOCS= ChangeLog README THANKS
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/xmlscan
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/xmlscan
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/changes.html ${RUBY_DOCDIR}/xmlscan
${INSTALL_DATA} ${WRKSRC}/doc/changes.rd ${RUBY_DOCDIR}/xmlscan
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/xmlscan/en
${INSTALL_DATA} ${WRKSRC}/doc/en/conformance.html ${RUBY_DOCDIR}/xmlscan/en
${INSTALL_DATA} ${WRKSRC}/doc/en/conformance.rd ${RUBY_DOCDIR}/xmlscan/en
${INSTALL_DATA} ${WRKSRC}/doc/en/manual.html ${RUBY_DOCDIR}/xmlscan/en
${INSTALL_DATA} ${WRKSRC}/doc/en/manual.rd ${RUBY_DOCDIR}/xmlscan/en
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/xmlscan/ja
${INSTALL_DATA} ${WRKSRC}/doc/ja/conformance.ja.html ${RUBY_DOCDIR}/xmlscan/ja
${INSTALL_DATA} ${WRKSRC}/doc/ja/conformance.ja.rd ${RUBY_DOCDIR}/xmlscan/ja
${INSTALL_DATA} ${WRKSRC}/doc/ja/manual.ja.html ${RUBY_DOCDIR}/xmlscan/ja
${INSTALL_DATA} ${WRKSRC}/doc/ja/manual.ja.rd ${RUBY_DOCDIR}/xmlscan/ja
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlscan
cd ${WRKSRC}/samples && pax -rw -pp * ${RUBY_EXAMPLESDIR}/xmlscan
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|