29 lines
771 B
Makefile
29 lines
771 B
Makefile
# $NetBSD: Makefile,v 1.19 2005/11/02 09:13:06 taca Exp $
|
|
#
|
|
|
|
DISTNAME= ${RUBY_DISTNAME}
|
|
PKGNAME= ${RUBY_PKGPREFIX}-readline-${RUBY_VERSION}
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= ${MASTER_SITE_RUBY}
|
|
|
|
MAINTAINER= taca@NetBSD.org
|
|
HOMEPAGE= ${RUBY_HOMEPAGE}
|
|
COMMENT= Ruby extension to readline library
|
|
|
|
RUBY_HAS_ARCHLIB= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/readline
|
|
WRKSRC= ${RUBY_WRKSRC}/ext/readline
|
|
|
|
RUBY_DOCS= README README.ja
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/readline
|
|
.for f in ${RUBY_DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/readline
|
|
.endfor
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../lang/ruby/modules.mk"
|
|
.include "../../lang/ruby/Makefile.common"
|
|
.include "../../mk/bsd.pkg.mk"
|