diff options
author | knu <knu@FreeBSD.org> | 2000-10-17 17:07:15 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-10-17 17:07:15 +0800 |
commit | 374648ed7568047c4895b5044a1369f2d5bf5590 (patch) | |
tree | 611799513a064460744a949579065503c87b4654 /graphics | |
parent | 819646bfc081be2e8a97ece1f376efacff9fd762 (diff) | |
download | freebsd-ports-graphics-374648ed7568047c4895b5044a1369f2d5bf5590.tar.gz freebsd-ports-graphics-374648ed7568047c4895b5044a1369f2d5bf5590.tar.zst freebsd-ports-graphics-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')
-rw-r--r-- | graphics/ruby-ming/Makefile | 4 | ||||
-rw-r--r-- | graphics/ruby-ming/files/patch-depend | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/graphics/ruby-ming/Makefile b/graphics/ruby-ming/Makefile index f651b011bbf..81c228db7ef 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 3af7c1ae3ad..a16f374050b 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 |