blob: 57ea574dbfe385c3fefba40b56dfebfb3feb9109 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: RubyDCL
# Date created: 15 Febrary 2004
# Whom: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
#
# $FreeBSD$
#
PORTNAME= dcl
PORTVERSION= 1.6.0
PORTREVISION= 2
CATEGORIES= science graphics ruby
MASTER_SITES= http://www.gfd-dennou.org/arch/ruby/products/ruby-dcl/ \
http://dennou-h.gfd-dennou.org/arch/ruby/products/ruby-dcl/ \
http://dennou-q.gfd-dennou.org/arch/ruby/products/ruby-dcl/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
MAINTAINER= murashin@gfd-dennou.org
COMMENT= A Ruby interface to the scientific graphic library DCL
BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \
${LOCALBASE}/lib/libcdcl.a:${PORTSDIR}/science/cdcl
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
.if defined(WITHOUT_GTK)
.else
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/gdk_pixbuf2.so:${PORTSDIR}/graphics/ruby-gdk_pixbuf2 \
${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
.endif
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
DOCS= ChangeLog README ToDo
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
BROKEN= Does not build on ${ARCH} (Needs to link against shared libraries)
.endif
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
(cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} \* ${RUBY_MODEXAMPLESDIR})
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
.endfor
.endif
.include <bsd.port.post.mk>
|