2000-08-24 16:12:30 +02:00
|
|
|
# New ports collection makefile for: Ruby/OpenGL
|
|
|
|
# Date created: 24 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= opengl
|
2001-12-02 20:30:19 +01:00
|
|
|
PORTVERSION= 0.32b
|
2009-01-23 17:28:36 +01:00
|
|
|
PORTREVISION= 4
|
2000-08-24 16:12:30 +02:00
|
|
|
CATEGORIES= graphics ruby
|
2001-04-28 12:58:23 +02:00
|
|
|
MASTER_SITES= http://www2.giganet.net/~yoshi/
|
2000-09-08 05:39:09 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2001-04-27 21:30:49 +02:00
|
|
|
DISTNAME= rbogl-${PORTVERSION}
|
2000-08-24 16:12:30 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2009-06-16 17:53:25 +02:00
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
2003-02-18 06:20:09 +01:00
|
|
|
COMMENT= OpenGL/GLU/GLUT interface modules for Ruby
|
2000-08-24 16:12:30 +02:00
|
|
|
|
2000-09-08 05:39:09 +02:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_GL= glut
|
2000-08-24 16:12:30 +02:00
|
|
|
|
2001-04-27 21:30:49 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CONFIGURE_ARGS= --with-ruby-dir="${LOCALBASE}" --with-x11-dir="${LOCALBASE}"
|
2000-08-24 16:12:30 +02:00
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:08:30 +02:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${RUBY_MODDOCDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.EUC ${RUBY_MODDOCDIR}/ja/
|
2000-08-24 16:12:30 +02:00
|
|
|
.endif
|
|
|
|
|
2011-07-04 17:48:33 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${RUBY_VER} == 1.9
|
|
|
|
BROKEN= does not build with ruby 1.9
|
|
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|