2013-09-20 18:13:47 +02:00
|
|
|
# Created by: Damian Gerow <dgerow@afflictions.org>
|
2009-10-23 05:32:11 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tokyocabinet
|
2011-05-05 05:39:13 +02:00
|
|
|
PORTVERSION= 1.31
|
2009-10-23 05:32:11 +02:00
|
|
|
CATEGORIES= databases ruby
|
2011-08-25 17:01:18 +02:00
|
|
|
MASTER_SITES= http://fallabs.com/${PORTNAME}/rubypkg/
|
2009-10-23 05:32:11 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2010-05-17 16:33:05 +02:00
|
|
|
MAINTAINER= dgerow@afflictions.org
|
2009-10-23 05:32:11 +02:00
|
|
|
COMMENT= Ruby interface to the Tokyo Cabinet DB engine
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet
|
2009-10-23 05:32:11 +02:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
|
|
|
DOCS= doc/*
|
|
|
|
|
2014-07-16 01:11:12 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2009-10-23 05:32:11 +02:00
|
|
|
post-install:
|
2014-02-22 11:33:07 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
|
2009-10-23 05:32:11 +02:00
|
|
|
.for f in ${DOCS}
|
2014-02-22 11:33:07 +01:00
|
|
|
${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
|
2009-10-23 05:32:11 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|