View | Details | Raw Unified | Return to bug 188013
Collapse All | Expand All

(-)ruby-dcl/Makefile (-10 / +12 lines)
Lines 17-31 Link Here
17
LICENSE=	BSD
17
LICENSE=	BSD
18
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
18
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
19
19
20
BUILD_DEPENDS=	${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \
20
BUILD_DEPENDS=	rubygem-narray>=0.5.5:${PORTSDIR}/math/rubygem-narray \
21
		${LOCALBASE}/lib/libcdcl.so:${PORTSDIR}/science/cdcl
21
		${LOCALBASE}/lib/libcdcl.so:${PORTSDIR}/science/cdcl
22
RUN_DEPENDS=	${LOCALBASE}/lib/libcdcl.so:${PORTSDIR}/science/cdcl \
22
RUN_DEPENDS=	${LOCALBASE}/lib/libcdcl.so:${PORTSDIR}/science/cdcl \
23
		${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \
23
		rubygem-narray>=0.5.5:${PORTSDIR}/math/rubygem-narray \
24
		rubygem-gdk_pixbuf2>0:${PORTSDIR}/graphics/rubygem-gdk_pixbuf2 \
24
		rubygem-gdk_pixbuf2>=2.1.0:${PORTSDIR}/graphics/rubygem-gdk_pixbuf2 \
25
		rubygem-gtk2>0:${PORTSDIR}/x11-toolkits/rubygem-gtk2
25
		rubygem-gtk2>=2.1.0:${PORTSDIR}/x11-toolkits/rubygem-gtk2
26
26
27
USE_RUBY=	yes
27
USE_RUBY=	yes
28
USE_RUBY_EXTCONF=	yes
28
USE_RUBY_EXTCONF=	yes
29
RUBY_NARRAY_VERSION=    `make -C ${PORTSDIR}/math/rubygem-narray -V PORTVERSION`
30
RUBY_NARRAY_PKGNAME=	narray-${RUBY_NARRAY_VERSION}
31
CONFIGURE_ARGS+=	--with-narray-include=${LOCALBASE}/lib/ruby/gems/${RUBY_VER}/gems/${RUBY_NARRAY_PKGNAME}/
29
32
30
DOCSDIR=	${RUBY_MODDOCDIR}
33
DOCSDIR=	${RUBY_MODDOCDIR}
31
EXAMPLESDIR=	${RUBY_MODEXAMPLESDIR}
34
EXAMPLESDIR=	${RUBY_MODEXAMPLESDIR}
Lines 33-39 Link Here
33
PORTDOCS=	ChangeLog README ToDo
36
PORTDOCS=	ChangeLog README ToDo
34
PORTEXAMPLES=	*
37
PORTEXAMPLES=	*
35
38
36
NO_STAGE=	yes
37
.include <bsd.port.pre.mk>
39
.include <bsd.port.pre.mk>
38
40
39
.if ${ARCH} == "ia64"
41
.if ${ARCH} == "ia64"
Lines 42-54 Link Here
42
44
43
post-install:
45
post-install:
44
.if !defined(NOPORTEXAMPLES)
46
.if !defined(NOPORTEXAMPLES)
45
	${MKDIR} ${RUBY_MODEXAMPLESDIR}
47
	${MKDIR} ${STARGEDIR}${RUBY_MODEXAMPLESDIR}
46
	(cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} \* ${RUBY_MODEXAMPLESDIR})
48
	(cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_MODEXAMPLESDIR})
47
.endif
49
.endif
48
.if !defined(NOPORTDOCS)
50
.if !defined(PORT_OPTIONS:MDOCS)
49
	${MKDIR} ${RUBY_MODDOCDIR}
51
	${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
50
.for f in ${PORTDOCS}
52
.for f in ${PORTDOCS}
51
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
53
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}
52
.endfor
54
.endfor
53
.endif
55
.endif
54
56
(-)ruby-dcl/pkg-descr (-2 / +2 lines)
Lines 1-6 Link Here
1
This is a Ruby interface to the scientific graphic library DCL.
1
This is a Ruby interface to the scientific graphic library DCL.
2
2
3
Author:	Takeshi Horinouchi <horinout _at_ ees.hokudai.ac.jp>
3
Author: Takeshi Horinouchi <horinout _at_ ees.hokudai.ac.jp>
4
	& Dennou Ruby Project
4
	& Dennou Ruby Project
5
5
6
WWW:	http://ruby.gfd-dennou.org/products/ruby-dcl/
6
WWW: http://ruby.gfd-dennou.org/products/ruby-dcl/

Return to bug 188013