29 lines
645 B
Makefile
29 lines
645 B
Makefile
PORTNAME= tokyocabinet
|
|
PORTVERSION= 1.31
|
|
CATEGORIES= databases ruby
|
|
MASTER_SITES= https://dbmx.net/${PORTNAME}/rubypkg/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= dgerow@afflictions.org
|
|
COMMENT= Ruby interface to the Tokyo Cabinet DB engine
|
|
WWW= https://dbmx.net/tokyocabinet/
|
|
|
|
LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet
|
|
|
|
USES= ruby:extconf
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
DOCS= doc/*
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS}
|
|
${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|