freebsd-ports/science/ruby-dcl/Makefile
Stefan Walter 0b68f5217b - update to 1.6.0
- fix inappropriate use of NO* vars
- add mastersites
- use COPYTREE_SHARE
- change maintainer's email address

PR:		127317
Submitted by:	maintainer
2009-01-08 17:11:08 +00:00

53 lines
1.5 KiB
Makefile

# 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
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>