pkgsrc/devel/ruby-readline/Makefile
sbd d9a78e0f79 To use the options framework bsd.options.mk must be include.
Also only add '--enable-libedit' to the configure args if the builtin
readline is libedit.

Bump PKGREVISION.
2012-05-13 08:37:03 +00:00

34 lines
907 B
Makefile

# $NetBSD: Makefile,v 1.33 2012/05/13 08:37:03 sbd Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-${RUBY_EXTNAME}-${RUBY_VERSION_FULL}
PKGREVISION= 2
RUBY_EXTNAME= readline
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= ${RUBY_HOMEPAGE}
COMMENT= Ruby extension to readline library
PKG_DESTDIR_SUPPORT= user-destdir
USE_RUBY_EXTCONF= yes
DISTINFO_FILE= ${RUBY_DISTINFO_FILE}
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/readline
WRKSRC= ${RUBY_WRKSRC}/ext/readline
RUBY_DOCS= README README.ja
INSTALLATION_DIRS= ${RUBY_DOC}/readline
post-install:
.for f in ${RUBY_DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/readline
.endfor
.include "options.mk"
.include "../../lang/ruby/modules.mk"
.include "../../lang/ruby/Makefile.common"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"