diff options
author | sakamoto <sakamoto> | 2001-08-05 17:24:31 +0000 |
---|---|---|
committer | sakamoto <sakamoto> | 2001-08-05 17:24:31 +0000 |
commit | cac1bbcf59c27f4e38bfc574aff98fa190a2c120 (patch) | |
tree | 1f9a62cc013f45293ed23065e514cea2320dd8bf /x11 | |
parent | 2fd3616a09f3f89ffabcc55a8db9b8682ad7e238 (diff) | |
download | pkgsrc-cac1bbcf59c27f4e38bfc574aff98fa190a2c120.tar.gz |
ruby-fox: Ruby interface to FOX GUI library
Ruby extension module to use FOX GUI library.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/ruby-fox/Makefile | 44 | ||||
-rw-r--r-- | x11/ruby-fox/distinfo | 5 | ||||
-rw-r--r-- | x11/ruby-fox/patches/patch-aa | 21 | ||||
-rw-r--r-- | x11/ruby-fox/pkg/DESCR | 1 | ||||
-rw-r--r-- | x11/ruby-fox/pkg/PLIST | 109 |
5 files changed, 180 insertions, 0 deletions
diff --git a/x11/ruby-fox/Makefile b/x11/ruby-fox/Makefile new file mode 100644 index 00000000000..24fe2a6f177 --- /dev/null +++ b/x11/ruby-fox/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/08/05 17:24:31 sakamoto Exp $ + +DISTNAME= FXRuby-0.99.174 +PKGNAME= ${RUBY_PKGNAMEPREFIX}fox-0.99.174 +CATEGORIES= x11 +MASTER_SITES= http://prdownloads.sourceforge.net/fxruby/ + +MAINTAINER= sakamoto@netbsd.org +HOMEPAGE= http://fxruby.sourceforge.net/ +COMMENT= Ruby interface to FOX GUI library + +DEPENDS+= ruby-opengl-*:../../graphics/ruby-opengl +BUILDLINK_DEPENDS.fox=${DISTNAME:C/FXRuby/fox/} + +WRKDIST= ${WRKDIR}/${DISTNAME} +WRKSRC= ${WRKDIST}/ext/fox + +DIST_SUBDIR= ruby +USE_RUBY_EXTCONF=#defined +CONFIGURE_ARGS+=--with-fox-include=${BUILDLINK_DIR}/include/fox +CONFIGURE_ARGS+=--with-opengl-include=${BUILDLINK_DIR}/include/GL +CONFIGURE_ARGS+=--with-fox-lib=${BUILDLINK_DIR}/lib + +INSTALL_TARGET= site-install + +post-install: + ${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR}/fox + ${INSTALL_DATA} ${WRKDIST}/lib/fox/*.rb ${RUBY_SITELIBDIR}/fox + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/fox + ${INSTALL_DATA} ${WRKDIST}/examples/README ${WRKDIST}/examples/*.rb ${RUBY_EXAMPLESDIR}/fox + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/fox/icons + ${INSTALL_DATA} ${WRKDIST}/examples/icons/* \ + ${RUBY_EXAMPLESDIR}/fox/icons + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/fox/textedit + ${INSTALL_DATA} ${WRKDIST}/examples/textedit/* \ + ${RUBY_EXAMPLESDIR}/fox/textedit + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/fox/tests + ${INSTALL_DATA} ${WRKDIST}/tests/* ${RUBY_EXAMPLESDIR}/fox/tests + ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/fox + ${INSTALL_DATA} ${WRKDIST}/doc/* ${RUBY_DOCDIR}/fox + +.include "../../x11/fox/buildlink.mk" +.include "../../lang/ruby-base/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/ruby-fox/distinfo b/x11/ruby-fox/distinfo new file mode 100644 index 00000000000..5392df2ea97 --- /dev/null +++ b/x11/ruby-fox/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/08/05 17:24:31 sakamoto Exp $ + +SHA1 (ruby/FXRuby-0.99.174.tar.gz) = 1c890cc6798d7080f648d9aec7c0880b0c2ece36 +Size (ruby/FXRuby-0.99.174.tar.gz) = 685531 bytes +SHA1 (patch-aa) = ed54cc9ad60da7684ff1e595e0df06c3f7bee555 diff --git a/x11/ruby-fox/patches/patch-aa b/x11/ruby-fox/patches/patch-aa new file mode 100644 index 00000000000..60ed0f3c3a8 --- /dev/null +++ b/x11/ruby-fox/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/08/05 17:24:31 sakamoto Exp $ + +--- extconf.rb.orig Wed Jul 25 01:19:52 2001 ++++ extconf.rb +@@ -105,6 +105,7 @@ + $LOCAL_LIBS = $LOCAL_LIBS + "foxdll.lib" + else + $libs = append_library($libs, "stdc++") ++ $libs = append_library($libs, "gcc") + have_header("sys/time.h") + have_library("png", "png_create_read_struct") + have_library("z", "deflate") +@@ -115,7 +116,7 @@ + find_library("GL", "glXCreateContext", "/usr/X11R6/lib") + find_library("GLU", "gluNewQuadric", "/usr/X11R6/lib") + $libs = append_library($libs, "FOX") +- $CFLAGS = $CFLAGS + "-O0 -fno-strict-prototype -fpermissive -DSWIG_NOINCLUDE -Iinclude" ++ $CFLAGS = $CFLAGS + "-O0 -fno-strict-prototype -DSWIG_NOINCLUDE -Iinclude" + end + + # Last step: build the makefile diff --git a/x11/ruby-fox/pkg/DESCR b/x11/ruby-fox/pkg/DESCR new file mode 100644 index 00000000000..e5a1c39c7da --- /dev/null +++ b/x11/ruby-fox/pkg/DESCR @@ -0,0 +1 @@ +Ruby extension module to use FOX GUI library. diff --git a/x11/ruby-fox/pkg/PLIST b/x11/ruby-fox/pkg/PLIST new file mode 100644 index 00000000000..8c70d185792 --- /dev/null +++ b/x11/ruby-fox/pkg/PLIST @@ -0,0 +1,109 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/08/05 17:24:31 sakamoto Exp $ +${RUBY_DOCDIR}/fox/book.html +${RUBY_DOCDIR}/fox/build.html +${RUBY_DOCDIR}/fox/button.png +${RUBY_DOCDIR}/fox/changes.html +${RUBY_DOCDIR}/fox/differences.html +${RUBY_DOCDIR}/fox/glviewer.gif +${RUBY_DOCDIR}/fox/goals.html +${RUBY_DOCDIR}/fox/imageviewer.png +${RUBY_DOCDIR}/fox/library.html +${RUBY_DOCDIR}/fox/opengl.html +${RUBY_DOCDIR}/fox/screenshots.html +${RUBY_DOCDIR}/fox/todo.html +${RUBY_DOCDIR}/fox/tutorial1.html +${RUBY_DOCDIR}/fox/tutorial1.png +${RUBY_EXAMPLESDIR}/fox/README +${RUBY_EXAMPLESDIR}/fox/browser.rb +${RUBY_EXAMPLESDIR}/fox/button.rb +${RUBY_EXAMPLESDIR}/fox/datatarget.rb +${RUBY_EXAMPLESDIR}/fox/dialog.rb +${RUBY_EXAMPLESDIR}/fox/dirlist.rb +${RUBY_EXAMPLESDIR}/fox/examples.rb +${RUBY_EXAMPLESDIR}/fox/foursplit.rb +${RUBY_EXAMPLESDIR}/fox/gltest.rb +${RUBY_EXAMPLESDIR}/fox/glviewer.rb +${RUBY_EXAMPLESDIR}/fox/groupbox.rb +${RUBY_EXAMPLESDIR}/fox/header.rb +${RUBY_EXAMPLESDIR}/fox/hello.rb +${RUBY_EXAMPLESDIR}/fox/hello2.rb +${RUBY_EXAMPLESDIR}/fox/icons/backview.gif +${RUBY_EXAMPLESDIR}/fox/icons/big_gif.gif +${RUBY_EXAMPLESDIR}/fox/icons/bigfolder.gif +${RUBY_EXAMPLESDIR}/fox/icons/bigpenguin.gif +${RUBY_EXAMPLESDIR}/fox/icons/bottomview.gif +${RUBY_EXAMPLESDIR}/fox/icons/camera.gif +${RUBY_EXAMPLESDIR}/fox/icons/colorpal.gif +${RUBY_EXAMPLESDIR}/fox/icons/copy.gif +${RUBY_EXAMPLESDIR}/fox/icons/cut.gif +${RUBY_EXAMPLESDIR}/fox/icons/delimit.gif +${RUBY_EXAMPLESDIR}/fox/icons/filenew.gif +${RUBY_EXAMPLESDIR}/fox/icons/fileopen.gif +${RUBY_EXAMPLESDIR}/fox/icons/filesave.gif +${RUBY_EXAMPLESDIR}/fox/icons/filesaveas.gif +${RUBY_EXAMPLESDIR}/fox/icons/fonts.gif +${RUBY_EXAMPLESDIR}/fox/icons/fox.gif +${RUBY_EXAMPLESDIR}/fox/icons/foxicon.gif +${RUBY_EXAMPLESDIR}/fox/icons/frontview.gif +${RUBY_EXAMPLESDIR}/fox/icons/hello2.gif +${RUBY_EXAMPLESDIR}/fox/icons/help_gif.gif +${RUBY_EXAMPLESDIR}/fox/icons/indent.gif +${RUBY_EXAMPLESDIR}/fox/icons/kill.gif +${RUBY_EXAMPLESDIR}/fox/icons/leftview.gif +${RUBY_EXAMPLESDIR}/fox/icons/light.gif +${RUBY_EXAMPLESDIR}/fox/icons/minidoc.gif +${RUBY_EXAMPLESDIR}/fox/icons/minifolder.gif +${RUBY_EXAMPLESDIR}/fox/icons/minifolderopen.gif +${RUBY_EXAMPLESDIR}/fox/icons/newfolder.gif +${RUBY_EXAMPLESDIR}/fox/icons/nolight.gif +${RUBY_EXAMPLESDIR}/fox/icons/palette.gif +${RUBY_EXAMPLESDIR}/fox/icons/parallel.gif +${RUBY_EXAMPLESDIR}/fox/icons/paste.gif +${RUBY_EXAMPLESDIR}/fox/icons/pattern.gif +${RUBY_EXAMPLESDIR}/fox/icons/penguin.gif +${RUBY_EXAMPLESDIR}/fox/icons/perspective.gif +${RUBY_EXAMPLESDIR}/fox/icons/printicon.gif +${RUBY_EXAMPLESDIR}/fox/icons/prop.gif +${RUBY_EXAMPLESDIR}/fox/icons/redo_gif.gif +${RUBY_EXAMPLESDIR}/fox/icons/rightview.gif +${RUBY_EXAMPLESDIR}/fox/icons/saveas.gif +${RUBY_EXAMPLESDIR}/fox/icons/shutter1.gif +${RUBY_EXAMPLESDIR}/fox/icons/shutter2.gif +${RUBY_EXAMPLESDIR}/fox/icons/small_gif.gif +${RUBY_EXAMPLESDIR}/fox/icons/smoothlight.gif +${RUBY_EXAMPLESDIR}/fox/icons/tbuplevel.gif +${RUBY_EXAMPLESDIR}/fox/icons/topview.gif +${RUBY_EXAMPLESDIR}/fox/icons/undo_gif.gif +${RUBY_EXAMPLESDIR}/fox/icons/winapp.gif +${RUBY_EXAMPLESDIR}/fox/icons/zoom.gif +${RUBY_EXAMPLESDIR}/fox/image.rb +${RUBY_EXAMPLESDIR}/fox/imageviewer.rb +${RUBY_EXAMPLESDIR}/fox/inputs.rb +${RUBY_EXAMPLESDIR}/fox/mditest.rb +${RUBY_EXAMPLESDIR}/fox/scribble.rb +${RUBY_EXAMPLESDIR}/fox/shutter.rb +${RUBY_EXAMPLESDIR}/fox/splitter.rb +${RUBY_EXAMPLESDIR}/fox/tabbook.rb +${RUBY_EXAMPLESDIR}/fox/table.rb +${RUBY_EXAMPLESDIR}/fox/tests/README +${RUBY_EXAMPLESDIR}/fox/tests/TestFXPoint.rb +${RUBY_EXAMPLESDIR}/fox/tests/TestFXRectangle.rb +${RUBY_EXAMPLESDIR}/fox/tests/TestFXSize.rb +${RUBY_EXAMPLESDIR}/fox/tests/runtest.rb +${RUBY_EXAMPLESDIR}/fox/tests/testall.rb +${RUBY_EXAMPLESDIR}/fox/textedit/commands.rb +${RUBY_EXAMPLESDIR}/fox/textedit/helpwindow.rb +${RUBY_EXAMPLESDIR}/fox/textedit/prefdialog.rb +${RUBY_EXAMPLESDIR}/fox/textedit/textedit.rb +${RUBY_SITELIBDIR}/fox/aliases.rb +${RUBY_SITELIBDIR}/fox/iterators.rb +${RUBY_SITELIBDIR}/fox/keys.rb +${RUBY_SITELIBDIR}/fox/responder.rb +${RUBY_SITELIBDIR}/fox/undolist.rb +@dirrm ${RUBY_SITELIBDIR}/fox +@dirrm ${RUBY_EXAMPLESDIR}/fox/textedit +@dirrm ${RUBY_EXAMPLESDIR}/fox/tests +@dirrm ${RUBY_EXAMPLESDIR}/fox/icons +@dirrm ${RUBY_EXAMPLESDIR}/fox +@dirrm ${RUBY_DOCDIR}/fox +${RUBY_SITEARCHLIBDIR}/fox.so |