aboutsummaryrefslogtreecommitdiffstats
path: root/databases/ruby-tokyocabinet/Makefile
blob: c6b2b1e403fdadb4e483de3f89112355d88f73de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:   ruby-tokyocabinet
# Date created:        9 September 2009
# Whom:                Damian Gerow <dgerow@afflictions.org>
#
# $FreeBSD$
#

PORTNAME=   tokyocabinet
PORTVERSION=    1.29
PORTREVISION=   2
CATEGORIES= databases ruby
MASTER_SITES=   http://1978th.net/tokyocabinet/rubypkg/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}-ruby-${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= dgerow@FreeBSD.org
COMMENT=    Ruby interface to the Tokyo Cabinet DB engine

LIB_DEPENDS=    tokyocabinet.8:${PORTSDIR}/databases/tokyocabinet

USE_RUBY=   yes
USE_RUBY_EXTCONF=   yes

#CONFIGURE_WRKSRC=  ${WRKSRC}/ext
#BUILD_WRKSRC=  ${WRKSRC}/ext
#INSTALL_WRKSRC=    ${WRKSRC}/ext
INSTALL_TARGET= site-install

DOCS=   doc/*

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
    ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif

.include <bsd.port.mk>