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