blob: ba18c7b5d7ea87be84e29f66860a8ab80c48c6d8 (
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
|
# $NetBSD: Makefile,v 1.10 2005/10/29 12:02:23 wiz Exp $
#
DISTNAME= rexml_${VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-rexml-${VERSION}
PKGREVISION= 2
CATEGORIES= textproc ruby
MASTER_SITES= http://www.germane-software.com/archives/
EXTRACT_SUFX= .tgz
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.germane-software.com/software/rexml/
COMMENT= Pure Ruby XML parser based on Java Electric XML
USE_RUBY_DIST_SUBDIR= yes
.include "../../lang/ruby/rubyversion.mk"
.if ${RUBY_VER} == "16"
DEPENDS+= ${RUBY_PKGPREFIX}-iconv>=${RUBY_REQD}:../../converters/ruby${RUBY_VER}-iconv
.else
DEPENDS+= ${RUBY_PKGPREFIX}-iconv>=${RUBY_REQD}:../../converters/ruby-iconv
.endif
VERSION= 3.1.2
USE_RUBY_INSTALL= yes
RUBY_SIMPLE_INSTALL= bin/install.rb
NO_BUILD= yes
NO_CONFIGURE= yes
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/rexml/api
${CP} -r ${WRKSRC}/docs/* ${RUBY_DOCDIR}/rexml
${CP} -r ${WRKSRC}/doc/* ${RUBY_DOCDIR}/rexml/api
${CHMOD} -R -w ${RUBY_DOCDIR}/rexml
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|