pkgsrc/databases/ruby-tokyocabinet/Makefile
obache f4f4169c45 Import ruby-tokyocabinet-1.14 as databases/ruby-tokyocabinet.
Tokyo Cabinet is a library of routines for managing a database.  The database is
a simple data file containing records, each is a pair of a key and a value.
Every key and value is serial bytes with variable length.  Both binary data and
character string can be used as a key and a value.  There is neither concept of
data tables nor data types.  Records are organized in hash table, B+ tree, or
fixed-length array.

This package provides Ruby binding of Tokyo Cabinet.
2008-09-04 12:11:41 +00:00

33 lines
890 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2008/09/04 12:11:41 obache Exp $
#
DISTNAME= tokyocabinet-ruby-1.14
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby//}
CATEGORIES= databases ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://tokyocabinet.sourceforge.net/rubydoc/
COMMENT= Ruby binding of Tokyo Cabinet
PKG_DESTDIR_SUPPORT= user-destdir
USE_RUBY_EXTCONF= yes
RUBY_HAS_ARCHLIB= yes
REPLACE_RUBY_DIRS= .
USE_TOOLS+= pax
DOCDIR= share/tokyocabinet/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 "../../databases/tokyocabinet/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"