2004-02-27 23:54:14 +00:00
|
|
|
# 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
|
2012-02-17 22:22:43 +00:00
|
|
|
PORTVERSION= 1.6.3
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 1
|
2004-02-27 23:54:14 +00:00
|
|
|
CATEGORIES= science graphics ruby
|
2012-02-17 22:22:43 +00:00
|
|
|
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/
|
2004-02-27 23:54:14 +00:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2009-01-08 17:11:08 +00:00
|
|
|
MAINTAINER= murashin@gfd-dennou.org
|
2005-02-24 20:15:00 +00:00
|
|
|
COMMENT= A Ruby interface to the scientific graphic library DCL
|
2004-02-27 23:54:14 +00:00
|
|
|
|
2012-02-17 22:22:43 +00:00
|
|
|
LICENSE= BSD
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
|
2008-03-27 02:14:17 +00:00
|
|
|
BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
${LOCALBASE}/lib/libcdcl.a:${PORTSDIR}/science/cdcl
|
2004-02-27 23:54:14 +00:00
|
|
|
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
|
|
|
|
|
2005-02-24 20:15:00 +00:00
|
|
|
.if defined(WITHOUT_GTK)
|
|
|
|
.else
|
2004-03-14 15:54:55 +00:00
|
|
|
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/gdk_pixbuf2.so:${PORTSDIR}/graphics/ruby-gdk_pixbuf2 \
|
2004-03-16 19:04:05 +00:00
|
|
|
${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
|
2004-02-27 23:54:14 +00:00
|
|
|
.endif
|
|
|
|
|
2005-02-24 20:15:00 +00:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
2012-02-17 22:22:43 +00:00
|
|
|
DOCS= ChangeLog LICENSE.txt README ToDo
|
2004-02-27 23:54:14 +00:00
|
|
|
|
2004-05-30 07:06:31 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-03-27 02:14:17 +00:00
|
|
|
.if ${ARCH} == "ia64"
|
2006-07-14 03:04:39 +00:00
|
|
|
BROKEN= Does not build on ${ARCH} (Needs to link against shared libraries)
|
2004-05-30 07:06:31 +00:00
|
|
|
.endif
|
|
|
|
|
2004-02-27 23:54:14 +00:00
|
|
|
post-install:
|
2009-01-08 17:11:08 +00:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2004-02-27 23:54:14 +00:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
2009-01-08 17:11:08 +00:00
|
|
|
(cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} \* ${RUBY_MODEXAMPLESDIR})
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-02-27 23:54:14 +00:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2004-05-30 07:06:31 +00:00
|
|
|
.include <bsd.port.post.mk>
|