aboutsummaryrefslogtreecommitdiffstats
path: root/devel/freeride/Makefile
blob: 917d76a3d8d25b33f7b7ffd218243ddaed654800 (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:    FreeRIDE
# Date created:     16 June 2004
# Whom:         Alexander Novitsky <alecn2002@yandex.ru>
#
# $FreeBSD$
#

PORTNAME=   freeride
PORTVERSION=    0.9.4
CATEGORIES= devel ruby
MASTER_SITES=   http://rubyforge.org/frs/download.php/3931/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=    ruby

MAINTAINER= alecn2002@yandex.ru
COMMENT=    Ruby Integrated Developement Environment written in Ruby

RUN_DEPENDS=    ${RUBY_SITEARCHLIBDIR}/fox12.so:${PORTSDIR}/x11-toolkits/ruby-fox-devel \
        ${RUBY_SITELIBDIR}/freebase/freebase.rb:${PORTSDIR}/devel/freebase \
        ${RUBY_SITEARCHLIBDIR}/rrb_ripper.so:${PORTSDIR}/devel/ruby-rrb

USE_RUBY=   yes
NO_BUILD=   yes

post-patch:
    ${CP} ${FILESDIR}/install.rb ${WRKSRC}/

do-install:
    cd ${WRKSRC}; ${RUBY} install.rb

post-install:
    ${INSTALL_SCRIPT} ${FILESDIR}/freeride ${PREFIX}/bin
    ${CHMOD} a+w ${RUBY_SITELIBDIR}/freeride/config
#
# For testing of installation, no real install
#
install-noharm: build pre-install
    cd ${WRKSRC}; ${RUBY} install.rb --no-harm

.include <bsd.port.mk>