aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-ming
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-25 04:32:36 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-25 04:32:36 +0000
commit315855ac364702ef5fcaecb83f00afe55bcab8e7 (patch)
tree74f6e42bd752280ec0873cfa83888e04e5ace0c9 /graphics/py-ming
parent66743463bd352c1ad4917b749dca3b89f7431f18 (diff)
downloadports-315855ac364702ef5fcaecb83f00afe55bcab8e7.tar.gz
ports-315855ac364702ef5fcaecb83f00afe55bcab8e7.zip
Notes
Diffstat (limited to 'graphics/py-ming')
-rw-r--r--graphics/py-ming/Makefile8
-rw-r--r--graphics/py-ming/files/patch-Makefile8
2 files changed, 9 insertions, 7 deletions
diff --git a/graphics/py-ming/Makefile b/graphics/py-ming/Makefile
index a64fecc659b2..b2ef03f0ea53 100644
--- a/graphics/py-ming/Makefile
+++ b/graphics/py-ming/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ming
-PORTVERSION= 0.0.2e
-PORTREVISION= 1
+PORTVERSION= 0.0.3a
CATEGORIES= graphics python
MASTER_SITES= http://www.opaque.net/ming/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +15,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ${SWIG}:${PORTSDIR}/devel/SWIG-devel
-LIB_DEPENDS= ming.0:${PORTSDIR}/graphics/ming
+LIB_DEPENDS= ming.1:${PORTSDIR}/graphics/ming
USE_PYTHON= yes
@@ -29,6 +28,9 @@ SWIG= swig1.3
EXAMPLES= shape.py test.py
+post-extract:
+ ${LN} -sf ../ming.i ${WRKSRC}/
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/${PYTHON_VERSION}/ming
diff --git a/graphics/py-ming/files/patch-Makefile b/graphics/py-ming/files/patch-Makefile
index 189718208c3e..7da12fdc4941 100644
--- a/graphics/py-ming/files/patch-Makefile
+++ b/graphics/py-ming/files/patch-Makefile
@@ -1,11 +1,11 @@
---- Makefile.orig Fri Oct 13 15:26:29 2000
-+++ Makefile Tue Oct 17 17:43:54 2000
+--- Makefile.orig Wed Oct 25 07:02:37 2000
++++ Makefile Wed Oct 25 13:11:16 2000
@@ -1,11 +1,10 @@
all:
-- swig -python ming.i
+- swig -I.. -python ming.i
- gcc -I .. -I /usr/include/python1.5/ -fpic -c ming_wrap.c
- gcc -L .. -shared -o mingcmodule.so ming_wrap.o -lming
-+ ${SWIG} -python ming.i
++ ${SWIG} -I.. -python ming.i
+ ${CC} ${CFLAGS} -I${LOCALBASE}/include/ming -I${LOCALBASE}/include/${PYTHON_VERSION} -fpic -c ming_wrap.c
+ ${CC} -shared -o mingcmodule.so ming_wrap.o -L${LOCALBASE}/lib -lming