# $NetBSD: Makefile,v 1.28 2009/09/13 01:51:05 taca Exp $ # DISTNAME= ${RUBY_DISTNAME} PKGNAME= ${RUBY_PKGPREFIX}-readline-${RUBY_VERSION_SUFFIX} PKGREVISION= 1 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 RUBY_HAS_ARCHLIB= yes 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 "../../devel/readline/buildlink3.mk" .include "../../lang/ruby/modules.mk" .include "../../lang/ruby/Makefile.common" .include "../../mk/bsd.pkg.mk"