1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Add ruby-qt2gl, Qt2 GL extension for Ruby.

This commit is contained in:
Akinori MUSHA 2001-02-07 06:37:01 +00:00
parent 1f2963d9ed
commit d55947f311
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38052
6 changed files with 107 additions and 0 deletions

View File

@ -176,6 +176,7 @@
SUBDIR += ruby-libpng
SUBDIR += ruby-ming
SUBDIR += ruby-opengl
SUBDIR += ruby-qt2gl
SUBDIR += sane
SUBDIR += sced
SUBDIR += scrot

View File

@ -0,0 +1,51 @@
# New ports collection makefile for: Ruby-qt2gl
# Date created: 7 Feb 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= qt2gl
PORTVERSION= 0.11
CATEGORIES= graphics x11-toolkits ruby
MASTER_SITES= http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-qt2-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/qt2.so:${RUBY_QT2_PORTDIR}
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/qt2.so:${RUBY_QT2_PORTDIR} \
${RUBY_SITEARCHLIBDIR}/opengl.so:${PORTSDIR}/graphics/ruby-opengl
RUBY_QT2_PORTDIR= ${PORTSDIR}/x11-toolkits/ruby-qt2
MD5_FILE= ${RUBY_QT2_PORTDIR}/distinfo
USE_MESA= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/qt2/modules/opengl
CONFIGURE_ARGS= --with-qt2-include=${X11BASE}/include/qt2 \
--with-qt2-lib=${X11BASE}/lib \
--with-qt2=qt2 \
--with-x11-dir=${X11BASE}
MAKE_ARGS= LOCAL_LIBS=-lgcc
INSTALL_TARGET= site-install
post-extract:
find ${WRKSRC} '(' -name .cvsignore -o -name a.out ')' -delete
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/qt2gl
${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/qt2gl/
${MKDIR} ${RUBY_DOCDIR}/qt2gl
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/qt2gl/
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- extconf.rb.orig Mon Jan 15 13:37:15 2001
+++ extconf.rb Wed Feb 7 14:53:24 2001
@@ -20,7 +20,7 @@
$CFLAGS += ' -I. -O -w '
-if have_header('qapplication.h') and have_header('qgl.h') and have_library('qt','qGLVersion__Fv')
+if have_header('qapplication.h') and have_header('qgl.h') and have_library(qt2,'qGLVersion__Fv')
create_makefile('qt2gl')
else
print "You do not seem to have qt(+qgl) library. Plrease check qt or extconf.rb.\n"

View File

@ -0,0 +1 @@
Qt2 GL extension for Ruby

View File

@ -0,0 +1,4 @@
This is a Qt2 GL extension for Ruby.
Author: Nobuyuki Horie <horie@smail.u-shizuoka-ken.ac.jp>
WWW: http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/index.html

View File

@ -0,0 +1,39 @@
%%RUBY_SITEARCHLIBDIR%%/qt2gl.so
%%RUBY_EXAMPLESDIR%%/qt2gl/box/README.orig
%%RUBY_EXAMPLESDIR%%/qt2gl/box/box.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/box/glbox.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/box/globjwin.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/gear/README.orig
%%RUBY_EXAMPLESDIR%%/qt2gl/gear/gear.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/gear/gear2.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/glpixmap/README.orig
%%RUBY_EXAMPLESDIR%%/qt2gl/glpixmap/glbox.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/glpixmap/globjwin.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/glpixmap/glpixmap.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/sharedbox/README.orig
%%RUBY_EXAMPLESDIR%%/qt2gl/sharedbox/glbox.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/sharedbox/globjwin.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/sharedbox/sharedbox.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/README.orig
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/gllogo.bmp
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/globjwin.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/gltexobj.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/qtlogo.bmp
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/texture.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/texture_rb/book.bmp
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/texture_rb/book.gif
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/texture_rb/book.xpm
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/texture_rb/gllogo.bmp
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/texture_rb/globjwin.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/texture_rb/gltexobj.rb
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/texture_rb/qtlogo.bmp
%%RUBY_EXAMPLESDIR%%/qt2gl/texture/texture_rb/texture.rb
@dirrm %%RUBY_EXAMPLESDIR%%/qt2gl/texture/texture_rb
@dirrm %%RUBY_EXAMPLESDIR%%/qt2gl/texture
@dirrm %%RUBY_EXAMPLESDIR%%/qt2gl/sharedbox
@dirrm %%RUBY_EXAMPLESDIR%%/qt2gl/glpixmap
@dirrm %%RUBY_EXAMPLESDIR%%/qt2gl/gear
@dirrm %%RUBY_EXAMPLESDIR%%/qt2gl/box
@dirrm %%RUBY_EXAMPLESDIR%%/qt2gl
%%RUBY_DOCDIR%%/qt2gl/README
@dirrm %%RUBY_DOCDIR%%/qt2gl