2004-02-28 00:54:14 +01: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
|
2009-01-08 18:11:08 +01:00
|
|
|
PORTVERSION= 1.6.0
|
2009-07-31 15:57:52 +02:00
|
|
|
PORTREVISION= 1
|
2004-02-28 00:54:14 +01:00
|
|
|
CATEGORIES= science graphics ruby
|
2009-01-08 18:11:08 +01:00
|
|
|
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/
|
2004-02-28 00:54:14 +01:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2009-01-08 18:11:08 +01:00
|
|
|
MAINTAINER= murashin@gfd-dennou.org
|
2005-02-24 21:15:00 +01:00
|
|
|
COMMENT= A Ruby interface to the scientific graphic library DCL
|
2004-02-28 00:54:14 +01:00
|
|
|
|
2008-03-27 03:14:17 +01: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 19:56:05 +02:00
|
|
|
${LOCALBASE}/lib/libcdcl.a:${PORTSDIR}/science/cdcl
|
2004-02-28 00:54:14 +01:00
|
|
|
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
|
|
|
|
|
2005-02-24 21:15:00 +01:00
|
|
|
.if defined(WITHOUT_GTK)
|
|
|
|
.else
|
2004-03-14 16:54:55 +01:00
|
|
|
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/gdk_pixbuf2.so:${PORTSDIR}/graphics/ruby-gdk_pixbuf2 \
|
2004-03-16 20:04:05 +01:00
|
|
|
${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
|
2004-02-28 00:54:14 +01:00
|
|
|
.endif
|
|
|
|
|
2005-02-24 21:15:00 +01:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
2004-02-28 00:54:14 +01:00
|
|
|
DOCS= ChangeLog README ToDo
|
|
|
|
|
2004-05-30 09:06:31 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-03-27 03:14:17 +01:00
|
|
|
.if ${ARCH} == "ia64"
|
2006-07-14 05:04:39 +02:00
|
|
|
BROKEN= Does not build on ${ARCH} (Needs to link against shared libraries)
|
2004-05-30 09:06:31 +02:00
|
|
|
.endif
|
|
|
|
|
2004-02-28 00:54:14 +01:00
|
|
|
post-install:
|
2009-01-08 18:11:08 +01:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2004-02-28 00:54:14 +01:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
2009-01-08 18:11:08 +01:00
|
|
|
(cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} \* ${RUBY_MODEXAMPLESDIR})
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-02-28 00:54:14 +01:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2004-05-30 09:06:31 +02:00
|
|
|
.include <bsd.port.post.mk>
|