pkgsrc/devel/ruby-readline/Makefile
taca 84352d6dac Fix some problems and clean up.
* RUBY_VER dose not take "19" any more.
* Make readline PKG_OPTION work as it should be.
* Always include readline.buildlink3.mk.

Bump PKGREVISION.
2014-04-12 16:37:46 +00:00

31 lines
827 B
Makefile

# $NetBSD: Makefile,v 1.37 2014/04/12 16:37:46 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
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 "../../mk/bsd.pkg.mk"