aboutsummaryrefslogtreecommitdiffstats
path: root/databases/ruby-memcache/Makefile
blob: f997ce4556d0428e3264a2c5b130da73744c3a90 (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
# New ports collection makefile for:    Ruby/memcache
# Date created:     26 December 2004
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   memcache
PORTVERSION=    0.0.4
CATEGORIES= databases ruby
MASTER_SITES=   http://www.deveiate.org/code/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   Ruby-MemCache-${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= ports@FreeBSD.org
COMMENT=    A memcached client library for Ruby

BUILD_DEPENDS=  ${RUBY_SITELIBDIR}/io/reactor.rb:${PORTSDIR}/devel/ruby-io-reactor
RUN_DEPENDS=    ${RUBY_SITELIBDIR}/io/reactor.rb:${PORTSDIR}/devel/ruby-io-reactor

USE_RUBY=   yes

NO_BUILD=   yes

DOCS=       README

do-install:
    cd ${WRKSRC}; ${RUBY} install.rb
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif

.include <bsd.port.mk>