pkgsrc/databases/ruby-tokyotyrant/Makefile

34 lines
849 B
Makefile
Raw Normal View History

2015-03-15 20:57:40 +01:00
# $NetBSD: Makefile,v 1.19 2015/03/15 20:13:24 hiramatsu Exp $
#
2010-01-17 03:54:16 +01:00
DISTNAME= tokyotyrant-ruby-1.13
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby-/-/}
CATEGORIES= databases ruby
2010-01-17 03:54:16 +01:00
MASTER_SITES= ${HOMEPAGE:S/rubydoc/rubypkg/}
2015-03-15 20:57:40 +01:00
MAINTAINER= pkgsrc-users@NetBSD.org
2010-08-06 06:51:23 +02:00
HOMEPAGE= http://fallabs.com/tokyotyrant/rubydoc/
COMMENT= Pure Ruby Interface of Tokyo Tyrant
LICENSE= gnu-lgpl-v2.1
USE_LANGUAGES= # none
USE_TOOLS+= pax
NO_BUILD= yes
USE_RUBY_INSTALL= yes
REPLACE_RUBY= tcrtest.rb test.rb
DOCDIR= share/tokytyrant/doc/ruby
RUBY_DYNAMIC_DIRS= ${DOCDIR}
do-test:
${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${RUBY} test.rb
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/${DOCDIR}
cd ${WRKSRC}/doc && pax -rwpp . ${DESTDIR}${PREFIX}/${DOCDIR}
${RUBY_GENERATE_PLIST}
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"