1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

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.
This commit is contained in:
Akinori MUSHA 2000-10-17 09:07:15 +00:00
parent b932b246ac
commit bd5fbf38c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33923
2 changed files with 6 additions and 2 deletions

View File

@ -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:

View File

@ -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