blob: 6f92e195f34dbb2c460e207859b2e4c24754385a (
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.9 2005/10/25 04:15:48 taca 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= rasputin@idoru.mine.nu
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"
|