# New ports collection makefile for: RubyDCL # Date created: 15 Febrary 2004 # Whom: Shin'ya Murakami # # $FreeBSD$ # PORTNAME= dcl PORTVERSION= 1.6.0 PORTREVISION= 3 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 .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