2019-07-11 11:25:24 +02:00
|
|
|
# $NetBSD: Makefile,v 1.20 2019/07/11 09:25:26 nia Exp $
|
2008-10-26 12:43:50 +01:00
|
|
|
#
|
|
|
|
|
2010-01-17 03:54:16 +01:00
|
|
|
DISTNAME= tokyotyrant-ruby-1.13
|
2008-10-26 12:43:50 +01:00
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby-/-/}
|
|
|
|
CATEGORIES= databases ruby
|
2010-01-17 03:54:16 +01:00
|
|
|
MASTER_SITES= ${HOMEPAGE:S/rubydoc/rubypkg/}
|
2008-10-26 12:43:50 +01:00
|
|
|
|
2015-03-15 20:57:40 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2019-07-11 11:25:24 +02:00
|
|
|
HOMEPAGE= https://fallabs.com/tokyotyrant/rubydoc/
|
2008-10-26 12:43:50 +01:00
|
|
|
COMMENT= Pure Ruby Interface of Tokyo Tyrant
|
2009-05-07 13:10:26 +02:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
|
2008-10-26 12:43:50 +01:00
|
|
|
USE_LANGUAGES= # none
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_RUBY_INSTALL= yes
|
|
|
|
|
2008-12-07 12:37:53 +01:00
|
|
|
REPLACE_RUBY= tcrtest.rb test.rb
|
2008-10-26 12:43:50 +01:00
|
|
|
|
|
|
|
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}
|
2014-09-20 03:22:27 +02:00
|
|
|
cd ${WRKSRC}/doc && pax -rwpp . ${DESTDIR}${PREFIX}/${DOCDIR}
|
2008-10-26 12:43:50 +01:00
|
|
|
${RUBY_GENERATE_PLIST}
|
|
|
|
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|