mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +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:
parent
b932b246ac
commit
bd5fbf38c7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33923
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user