pkgsrc/textproc/ruby-sary/Makefile
2008-06-19 14:56:39 +00:00

34 lines
825 B
Makefile

# $NetBSD: Makefile,v 1.3 2008/06/19 14:57:36 taca Exp $
#
DISTNAME= sary-ruby-1.2.0
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby-/-/}
PKGREVISION= 1
CATEGORIES= textproc ruby
MASTER_SITES= http://sary.sourceforge.net/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://sary.sourceforge.net/
COMMENT= Ruby Binding of Sary
RUBY_HAS_ARCHLIB= yes
USE_RUBY_EXTCONF= yes
USE_TOOLS+= pkg-config
DOCS= Reference.en.rd Reference.ja.rd
SUBST_CLASSES+= ruby
SUBST_STAGE.ruby= post-build
SUBST_FILES.ruby= ${DOCS}
SUBST_SED.ruby= -e 's|/usr/local/bin/ruby|${RUBY}|g'
INSTALLATION_DIRS= ${RUBY_DOC}/sary
post-install:
.for d in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${d} ${DESTDIR}${PREFIX}/${RUBY_DOC}/sary
.endfor
.include "../../lang/ruby/modules.mk"
.include "../../textproc/sary/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"