aboutsummaryrefslogtreecommitdiff
path: root/graphics/ruby-opengl
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-05-04 23:41:47 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-05-04 23:41:47 +0000
commit353fd964a2af7cd7b89663edcdab30eb8003dc12 (patch)
tree67fa9bd1410d7b4f95427121f4d91c379d7b2341 /graphics/ruby-opengl
parentdd2d5258d0476fd721847f3dcadd59be14659295 (diff)
downloadports-353fd964a2af7cd7b89663edcdab30eb8003dc12.tar.gz
ports-353fd964a2af7cd7b89663edcdab30eb8003dc12.zip
Notes
Diffstat (limited to 'graphics/ruby-opengl')
-rw-r--r--graphics/ruby-opengl/Makefile5
-rw-r--r--graphics/ruby-opengl/distinfo2
2 files changed, 6 insertions, 1 deletions
diff --git a/graphics/ruby-opengl/Makefile b/graphics/ruby-opengl/Makefile
index 70e528111520..b639e298cb5d 100644
--- a/graphics/ruby-opengl/Makefile
+++ b/graphics/ruby-opengl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= opengl
PORTVERSION= 0.32
+PORTREVISION= 1
CATEGORIES= graphics ruby
MASTER_SITES= http://www2.giganet.net/~yoshi/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -25,6 +26,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
CONFIGURE_ARGS= --with-ruby-dir="${LOCALBASE}" --with-x11-dir="${X11BASE}"
INSTALL_TARGET= site-install
+post-patch:
+ ${RUBY} -i -pe 'sub %r| -I/usr/X11R6/include|, ""' \
+ -e 'sub %r| -L/usr/X11R6/lib|, ""' ${WRKSRC}/${RUBY_EXTCONF}
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
diff --git a/graphics/ruby-opengl/distinfo b/graphics/ruby-opengl/distinfo
index 58760af7a987..d61c61c415f5 100644
--- a/graphics/ruby-opengl/distinfo
+++ b/graphics/ruby-opengl/distinfo
@@ -1 +1 @@
-MD5 (ruby/rbogl-0.32.tgz) = edb446c6fd7d3609d64e85c1879e46ae
+MD5 (ruby/rbogl-0.32.tgz) = b27144678c21eb884b3c08dd3d8f883d