pkgsrc/databases/ruby-tokyotyrant/Makefile
wiz 60f460ab01 Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00

35 lines
892 B
Makefile

# $NetBSD: Makefile,v 1.8 2009/05/19 08:59:07 wiz Exp $
#
DISTNAME= tokyotyrant-ruby-1.6
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby-/-/}
CATEGORIES= databases ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://tokyocabinet.sourceforge.net/tyrantrubydoc/
COMMENT= Pure Ruby Interface of Tokyo Tyrant
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
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 -rwpe . ${DESTDIR}${PREFIX}/${DOCDIR}
${RUBY_GENERATE_PLIST}
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"