diff options
author | knu <knu@FreeBSD.org> | 2004-04-09 22:14:00 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2004-04-09 22:14:00 +0800 |
commit | e9c47a4a84502af54eafbd0415b5db114c3c2b4c (patch) | |
tree | 3599d3b34e01ccee244e5cc81d75b0a2b9c32ab0 /x11-toolkits | |
parent | a4ad726de39ce2fd68ebdb1ed511cfba28599484 (diff) | |
download | freebsd-ports-gnome-e9c47a4a84502af54eafbd0415b5db114c3c2b4c.tar.gz freebsd-ports-gnome-e9c47a4a84502af54eafbd0415b5db114c3c2b4c.tar.zst freebsd-ports-gnome-e9c47a4a84502af54eafbd0415b5db114c3c2b4c.zip |
Add x11-toolkits/ruby-gtkglext, Ruby binding for GtkGLExt.
This is part of the Ruby/GNOME2 suite.
PR: ports/65270
Submitted by: Jeremy Messenger <mezz7@cox.net>
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/ruby-gtkglext/Makefile | 46 | ||||
-rw-r--r-- | x11-toolkits/ruby-gtkglext/pkg-descr | 3 | ||||
-rw-r--r-- | x11-toolkits/ruby-gtkglext/pkg-plist | 11 |
4 files changed, 61 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 4f320410545d..4162da4ca3c2 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -185,6 +185,7 @@ SUBDIR += ruby-fox SUBDIR += ruby-gtk SUBDIR += ruby-gtk2 + SUBDIR += ruby-gtkglext SUBDIR += ruby-pango SUBDIR += ruby-tk SUBDIR += scintilla diff --git a/x11-toolkits/ruby-gtkglext/Makefile b/x11-toolkits/ruby-gtkglext/Makefile new file mode 100644 index 000000000000..52a9d4a5a842 --- /dev/null +++ b/x11-toolkits/ruby-gtkglext/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: Ruby/GtkGLExt +# Date created: 05 April 2004 +# Whom: Mezz <mezz7@cox.net> +# +# $FreeBSD$ +# + +PORTNAME= gtkglext +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +CATEGORIES= x11-toolkits ruby +MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${RUBY_GNOME_DISTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= mezz7@cox.net +COMMENT= Ruby binding for GtkGLExt + +LIB_DEPENDS= gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \ + ${RUBY_SITEARCHLIBDIR}/opengl.so:${PORTSDIR}/graphics/ruby-opengl + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes +USE_XLIB= yes + +.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/gtkglext +INSTALL_TARGET= site-install + +DOCS= ChangeLog \ + README + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_MODEXAMPLESDIR} + ${CP} -R ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ + ${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/x11-toolkits/ruby-gtkglext/pkg-descr b/x11-toolkits/ruby-gtkglext/pkg-descr new file mode 100644 index 000000000000..990da72c5fe9 --- /dev/null +++ b/x11-toolkits/ruby-gtkglext/pkg-descr @@ -0,0 +1,3 @@ +Ruby/GtkGLExt is a Ruby binding of GtkGLExt. + +WWW: http://ruby-gnome2.sourceforge.jp/ diff --git a/x11-toolkits/ruby-gtkglext/pkg-plist b/x11-toolkits/ruby-gtkglext/pkg-plist new file mode 100644 index 000000000000..46d546daf56e --- /dev/null +++ b/x11-toolkits/ruby-gtkglext/pkg-plist @@ -0,0 +1,11 @@ +%%RUBY_SITEARCHLIBDIR%%/gtkglext.so +%%RUBY_SITELIBDIR%%/gtkglext.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/font.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtkglut.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/share-lists.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/simple-mixed.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/simple.rb +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |