aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-inline/Makefile
blob: b75ae749ca3069441834ccd53573a6d4a18e0bab (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-inline
# Date created:     2003-01-30
# Whom:         Sean Chittenden <seanc@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   inline
PORTVERSION=    2.2.0
CATEGORIES= devel ruby
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ruby${PORTNAME}
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   RubyInline-${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= seanc@FreeBSD.org
COMMENT=    Inline::C allows you to embed C/Ruby directly in ruby scripts

USE_RUBY=   yes

NO_BUILD=   yes

DOCS=   README.txt
EXAMPLES=   example.rb tutorial/example1.rb tutorial/example2.rb

post-install:
    ${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
.endfor
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}
.endfor

.include <bsd.port.mk>