blob: 615d054a082c78bed7bc0676095e6d2e27f06277 (
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
|
# $NetBSD: Makefile,v 1.40 2015/12/29 12:13:30 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-${RUBY_EXTNAME}-${RUBY_VERSION_FULL}
PKGREVISION= 1
RUBY_EXTNAME= readline
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= ${RUBY_HOMEPAGE}
COMMENT= Ruby extension to readline library
RUBY_VERSION_SUPPORTED= 22 21 200 18
USE_RUBY_EXTCONF= yes
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/readline
WRKSRC= ${RUBY_WRKSRC}/ext/readline
MAKE_ENV+= top_srcdir=../..
RUBY_DOCS= README README.ja
INSTALLATION_DIRS= ${RUBY_DOC}/readline
.include "options.mk"
.include "../../lang/ruby/modules.mk"
.if ${RUBY_VER} != "18"
EXTRACT_ELEMENTS+= ${RUBY_DISTNAME}/include ${RUBY_DISTNAME}/internal.h
.endif
post-install:
.for f in ${RUBY_DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/readline
.endfor
.include "../../lang/ruby/Makefile.common"
.include "../../mk/bsd.pkg.mk"
|