aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-fox
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-03-06 14:13:50 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-03-06 14:13:50 +0000
commit7f5566219c3956e65cef4bcd426412c402adae42 (patch)
tree2c54ecf195a1797e41d248ecfdab9a81ef5b7ee2 /x11-toolkits/ruby-fox
parent62da2095477f1483028760ec16a4b3f4ccddd11f (diff)
downloadports-7f5566219c3956e65cef4bcd426412c402adae42.tar.gz
ports-7f5566219c3956e65cef4bcd426412c402adae42.zip
Notes
Diffstat (limited to 'x11-toolkits/ruby-fox')
-rw-r--r--x11-toolkits/ruby-fox/Makefile55
-rw-r--r--x11-toolkits/ruby-fox/distinfo1
-rw-r--r--x11-toolkits/ruby-fox/pkg-comment1
-rw-r--r--x11-toolkits/ruby-fox/pkg-descr5
-rw-r--r--x11-toolkits/ruby-fox/pkg-plist20
5 files changed, 82 insertions, 0 deletions
diff --git a/x11-toolkits/ruby-fox/Makefile b/x11-toolkits/ruby-fox/Makefile
new file mode 100644
index 000000000000..0ff338c66f91
--- /dev/null
+++ b/x11-toolkits/ruby-fox/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: FXRuby
+# Date created: 24 February 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fox
+PORTVERSION= 0.99.161
+CATEGORIES= x11-toolkits ruby
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= fxruby
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= FXRuby-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+#BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/SWIG-devel
+LIB_DEPENDS= FOX.1:${PORTSDIR}/x11-toolkits/fox \
+ png.4:${PORTSDIR}/graphics/png \
+ jpeg.9:${PORTSDIR}/graphics/jpeg
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+USE_XLIB= yes
+USE_MESA= yes
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+INSTALL_TARGET= site-install
+CONFIGURE_ARGS= --with-fox-include="${LOCALBASE}/include/fox" \
+ --with-fox-lib="${LOCALBASE}/lib"
+#MAKE_ARGS= LOCAL_LIBS="-lgcc"
+
+DOCS_EN= README index.html
+
+post-patch:
+ ${RUBY} -i -pe 'sub %r:/usr/X11R6\b:, "${X11BASE}"' ${WRKSRC}/extconf.rb
+
+pre-build:
+# cd ${WRKSRC}/../swig-interfaces; ${MAKE}
+ ${RUBY} -i -pe 'sub %r:^CXXFLAGS *=.*:, "CXXFLAGS = $$(CFLAGS) $$(CPPFLAGS)"' ${WRKSRC}/Makefile
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/fox
+ ${INSTALL_DATA} ${WRKSRC}/../examples/* ${RUBY_EXAMPLESDIR}/fox/
+ ${MKDIR} ${RUBY_DOCDIR}/fox
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/../${f} ${RUBY_DOCDIR}/fox/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/ruby-fox/distinfo b/x11-toolkits/ruby-fox/distinfo
new file mode 100644
index 000000000000..ef290b425d8d
--- /dev/null
+++ b/x11-toolkits/ruby-fox/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/FXRuby-0.99.161.tar.gz) = c5efe1b76f56992deffe687cc64e5481
diff --git a/x11-toolkits/ruby-fox/pkg-comment b/x11-toolkits/ruby-fox/pkg-comment
new file mode 100644
index 000000000000..6b7f75e55acb
--- /dev/null
+++ b/x11-toolkits/ruby-fox/pkg-comment
@@ -0,0 +1 @@
+Ruby extension module to use FOX
diff --git a/x11-toolkits/ruby-fox/pkg-descr b/x11-toolkits/ruby-fox/pkg-descr
new file mode 100644
index 000000000000..53388260077d
--- /dev/null
+++ b/x11-toolkits/ruby-fox/pkg-descr
@@ -0,0 +1,5 @@
+FXRuby is a Ruby extension module that provides an interface to the
+FOX GUI library.
+
+Author: Lyle Johnson <ljohnson@resgen.com>
+WWW: http://fxruby.sourceforge.net/
diff --git a/x11-toolkits/ruby-fox/pkg-plist b/x11-toolkits/ruby-fox/pkg-plist
new file mode 100644
index 000000000000..63c116eb1304
--- /dev/null
+++ b/x11-toolkits/ruby-fox/pkg-plist
@@ -0,0 +1,20 @@
+%%RUBY_SITEARCHLIBDIR%%/fox.so
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/README
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/bigpenguin.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/button.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/foursplit.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/gltest.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/header.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/hello.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/hello2.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/hello2.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/minidoc.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/responder.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/scribble.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/shutter.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/shutter1.gif
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/shutter2.gif
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/fox
+%%PORTDOCS%%%%RUBY_DOCDIR%%/fox/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/fox/index.html
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/fox