diff options
author | knu <knu@FreeBSD.org> | 2001-03-06 14:13:50 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-03-06 14:13:50 +0000 |
commit | af8f3b990d850daa844113538939289d689e33b0 (patch) | |
tree | fade70079e1a0fbe71c0c316de5dd4803697acab /x11-toolkits/ruby-fox-devel | |
parent | ef0f9f01ff6a54b743a8b8b94d15f5129802ed1a (diff) | |
download | FreeBSD-ports-af8f3b990d850daa844113538939289d689e33b0.zip FreeBSD-ports-af8f3b990d850daa844113538939289d689e33b0.tar.gz |
Add ruby-fox, a Ruby extension to module to use FOX toolkit.
Actually this software is named FXRuby, but I'm importing it as
ruby-fox to make it clear that it's a Ruby binding for FOX.
Diffstat (limited to 'x11-toolkits/ruby-fox-devel')
-rw-r--r-- | x11-toolkits/ruby-fox-devel/Makefile | 55 | ||||
-rw-r--r-- | x11-toolkits/ruby-fox-devel/distinfo | 1 | ||||
-rw-r--r-- | x11-toolkits/ruby-fox-devel/pkg-comment | 1 | ||||
-rw-r--r-- | x11-toolkits/ruby-fox-devel/pkg-descr | 5 | ||||
-rw-r--r-- | x11-toolkits/ruby-fox-devel/pkg-plist | 20 |
5 files changed, 82 insertions, 0 deletions
diff --git a/x11-toolkits/ruby-fox-devel/Makefile b/x11-toolkits/ruby-fox-devel/Makefile new file mode 100644 index 0000000..0ff338c --- /dev/null +++ b/x11-toolkits/ruby-fox-devel/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-devel/distinfo b/x11-toolkits/ruby-fox-devel/distinfo new file mode 100644 index 0000000..ef290b4 --- /dev/null +++ b/x11-toolkits/ruby-fox-devel/distinfo @@ -0,0 +1 @@ +MD5 (ruby/FXRuby-0.99.161.tar.gz) = c5efe1b76f56992deffe687cc64e5481 diff --git a/x11-toolkits/ruby-fox-devel/pkg-comment b/x11-toolkits/ruby-fox-devel/pkg-comment new file mode 100644 index 0000000..6b7f75e --- /dev/null +++ b/x11-toolkits/ruby-fox-devel/pkg-comment @@ -0,0 +1 @@ +Ruby extension module to use FOX diff --git a/x11-toolkits/ruby-fox-devel/pkg-descr b/x11-toolkits/ruby-fox-devel/pkg-descr new file mode 100644 index 0000000..5338826 --- /dev/null +++ b/x11-toolkits/ruby-fox-devel/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-devel/pkg-plist b/x11-toolkits/ruby-fox-devel/pkg-plist new file mode 100644 index 0000000..63c116e --- /dev/null +++ b/x11-toolkits/ruby-fox-devel/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 |