aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ruby-ming
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-10-17 17:07:15 +0800
committerknu <knu@FreeBSD.org>2000-10-17 17:07:15 +0800
commit374648ed7568047c4895b5044a1369f2d5bf5590 (patch)
tree611799513a064460744a949579065503c87b4654 /graphics/ruby-ming
parent819646bfc081be2e8a97ece1f376efacff9fd762 (diff)
downloadfreebsd-ports-gnome-374648ed7568047c4895b5044a1369f2d5bf5590.tar.gz
freebsd-ports-gnome-374648ed7568047c4895b5044a1369f2d5bf5590.tar.zst
freebsd-ports-gnome-374648ed7568047c4895b5044a1369f2d5bf5590.zip
Improve the patch for ming.rb. (Already sent to the author)
Define and use SWIG instead of hardcoding swig's executable name in a patch.
Diffstat (limited to 'graphics/ruby-ming')
-rw-r--r--graphics/ruby-ming/Makefile4
-rw-r--r--graphics/ruby-ming/files/patch-depend4
2 files changed, 6 insertions, 2 deletions
diff --git a/graphics/ruby-ming/Makefile b/graphics/ruby-ming/Makefile
index f651b011bbf2..81c228db7ef2 100644
--- a/graphics/ruby-ming/Makefile
+++ b/graphics/ruby-ming/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ming
PORTVERSION= 0.0.2e
+PORTREVISION= 1
CATEGORIES= graphics ruby
MASTER_SITES= http://www.opaque.net/ming/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -24,8 +25,11 @@ MD5_FILE= ${PORTSDIR}/graphics/ming/distinfo
WRKSRC= ${WRKDIR}/${DISTNAME}/rb_ext
CONFIGURE_ARGS= --with-ming-include="${LOCALBASE}/include/ming"
+MAKE_ARGS= SWIG="${SWIG}"
INSTALL_TARGET= site-install
+SWIG= swig1.3
+
EXAMPLES= shape.rb test.rb
post-extract:
diff --git a/graphics/ruby-ming/files/patch-depend b/graphics/ruby-ming/files/patch-depend
index 3af7c1ae3ad6..a16f374050bf 100644
--- a/graphics/ruby-ming/files/patch-depend
+++ b/graphics/ruby-ming/files/patch-depend
@@ -1,5 +1,5 @@
--- depend.orig Fri Oct 13 15:26:31 2000
-+++ depend Mon Oct 16 17:55:07 2000
++++ depend Tue Oct 17 17:46:26 2000
@@ -1,4 +1,4 @@
-SWIGINC= ../py_ext
+SWIGINC= .
@@ -11,7 +11,7 @@
ming_wrap.c: ${SWIGINC}/blocklist.i ${SWIGINC}/blocktypes.i ${SWIGINC}/ming.i ${SWIGINC}/swf.i
- swig -I${SWIGINC} -ruby ${SWIGINC}/ming.i
-+ swig1.3 -I${SWIGINC} -ruby ${SWIGINC}/ming.i
++ ${SWIG} -I${SWIGINC} -ruby ${SWIGINC}/ming.i
clean: clean_local