diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-24 14:12:30 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-24 14:12:30 +0000 |
commit | a407b4fe8c1540751f0dbeb16e596a6d64b95c32 (patch) | |
tree | 6c234f2c0dd7242cb83ae8e71495da29f7bef942 /graphics/ruby-opengl/Makefile | |
parent | Fix extras. (diff) |
Add ruby-opengl, OpenGL/GLU/GLUT interface modules for Ruby.
Diffstat (limited to 'graphics/ruby-opengl/Makefile')
-rw-r--r-- | graphics/ruby-opengl/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/graphics/ruby-opengl/Makefile b/graphics/ruby-opengl/Makefile new file mode 100644 index 000000000000..5cea2e8e159e --- /dev/null +++ b/graphics/ruby-opengl/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: Ruby/OpenGL +# Date created: 24 Aug 2000 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= opengl +PORTVERSION= 0.31 +CATEGORIES= graphics ruby +MASTER_SITES= http://www2.giganet.net/~yoshi/ +PKGNAMEPREFIX= ruby- +DISTNAME= rbogl +EXTRACT_SUFX= .tgz +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby +RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby + +USE_MESA= yes + +WRKSRC= ${WRKDIR}/oglmodule +CONFIGURE_ARGS= --with-ruby-dir="${LOCALBASE}" --with-x11-dir="${X11BASE}" + +INSTALL_TARGET= site-install + +PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" + +RUBY?= ${LOCALBASE}/bin/ruby +RUBY_VER?= 1.4 +RUBY_ARCH?= ${ARCH}-freebsd${OSREL} + +do-configure: + @cd ${WRKSRC}; \ + ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS} + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/examples/ruby/opengl + ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${PREFIX}/share/examples/ruby/opengl/ + ${MKDIR} ${PREFIX}/share/doc/ruby/opengl/ja + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/ruby/opengl/ + ${INSTALL_DATA} ${WRKSRC}/README.EUC ${PREFIX}/share/doc/ruby/opengl/ja/ +.endif + +.include <bsd.port.mk> |