blob: 1ada91b1dc480bdc68942481b22acb921612a662 (
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
55
56
|
# 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.3
CATEGORIES= science graphics ruby
MASTER_SITES= http://ruby.gfd-dennou.org/products/ruby-dcl/release/ \
http://dennou-h.gfd-dennou.org/library/ruby/products/ruby-dcl/release/ \
http://dennou-q.gfd-dennou.org/library/ruby/products/ruby-dcl/release/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
MAINTAINER= murashin@gfd-dennou.org
COMMENT= A Ruby interface to the scientific graphic library DCL
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
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 LICENSE.txt 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>
|