aboutsummaryrefslogtreecommitdiffstats
path: root/net/ruby-spread/Makefile
blob: 272e1f88fa559a1ceffe0d24405c2448ceff26a7 (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
# New ports collection makefile for:    ruby-spread
# Date created:     2002 July 22
# Whom:         seanc@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   spread
PORTVERSION=    0.2
CATEGORIES= net ruby
MASTER_SITES=   http://www.rubynet.org/modules/net/spread/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=    ruby

MAINTAINER= seanc@FreeBSD.org
COMMENT=    Ruby interface to the Spread library

LIB_DEPENDS=    tspread.1:${PORTSDIR}/net/spread

USE_RUBY=   yes
USE_RUBY_EXTCONF=   yes

INSTALL_TARGET= site-install

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/flooder.rb ${RUBY_MODEXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/user.rb ${RUBY_MODEXAMPLESDIR}
    ${MKDIR} ${RUBY_MODDOCDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}
.endif

.include <bsd.port.mk>