aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-ming
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-18 05:57:17 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-18 05:57:17 +0000
commit1402ed0dcc689c483f843cafb8b5a492ba7ac5db (patch)
tree8946d0c3ffb0c5fec72f684a33265b6195ba527b /graphics/py-ming
parent924ce8f82106305db268f59d30fb219a2ea563cf (diff)
downloadports-1402ed0dcc689c483f843cafb8b5a492ba7ac5db.tar.gz
ports-1402ed0dcc689c483f843cafb8b5a492ba7ac5db.zip
Notes
Diffstat (limited to 'graphics/py-ming')
-rw-r--r--graphics/py-ming/Makefile4
-rw-r--r--graphics/py-ming/files/patch-Makefile26
2 files changed, 15 insertions, 15 deletions
diff --git a/graphics/py-ming/Makefile b/graphics/py-ming/Makefile
index 9ce31afb7f51..ad62d902c0e6 100644
--- a/graphics/py-ming/Makefile
+++ b/graphics/py-ming/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ming
-PORTVERSION= 0.1.1
+PORTVERSION= 0.2a
CATEGORIES= graphics python
MASTER_SITES= # none
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,7 @@ DISTFILES= # none
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/ming:patch
-LIB_DEPENDS= ming.2:${PORTSDIR}/graphics/ming
+LIB_DEPENDS= ming.3:${PORTSDIR}/graphics/ming
USE_PYTHON= yes
diff --git a/graphics/py-ming/files/patch-Makefile b/graphics/py-ming/files/patch-Makefile
index c876db7624bd..93d22f947949 100644
--- a/graphics/py-ming/files/patch-Makefile
+++ b/graphics/py-ming/files/patch-Makefile
@@ -1,20 +1,20 @@
---- Makefile.orig Mon Mar 19 10:26:33 2001
-+++ Makefile Tue Mar 20 18:28:05 2001
+--- Makefile.orig Sat Aug 18 02:05:55 2001
++++ Makefile Tue Sep 18 14:44:34 2001
@@ -1,13 +1,13 @@
- #PYINCDIR = /usr/local/include/python2.0
- #PYLIBDIR = /usr/local/lib/python2.0
-
--PYINCDIR = /usr/include/python1.5
--PYLIBDIR = /usr/lib/python1.5
+-PYINCDIR = /usr/local/include/python2.0
+-PYLIBDIR = /usr/local/lib/python2.0
+PYINCDIR = ${LOCALBASE}/include/${PYTHON_VERSION}
+PYLIBDIR = ${LOCALBASE}/lib/${PYTHON_VERSION}
+ #PYINCDIR = /usr/include/python1.5
+ #PYLIBDIR = /usr/lib/python1.5
+
-all:
+all: mingcmodule.so
- mingcmodule.so: ming_wrap.o ../libming.a
-- gcc -g -Wall -shared -o mingcmodule.so ming_wrap.o ../libming.a
-+ ${CC} -g -Wall -L .. -shared -o mingcmodule.so ming_wrap.o -L${LOCALBASE}/lib -lming
+ mingcmodule.so: ming_wrap.o
+- gcc -g -Wall -shared -o mingcmodule.so ming_wrap.o -lming
++ ${CC} -g -Wall -shared -o mingcmodule.so ming_wrap.o -L${LOCALBASE}/lib -lming
mingc.pyd: ming_wrap.o
dllwrap --dllname mingc.pyd --driver-name gcc --def mingc.def \
@@ -25,9 +25,9 @@
- gcc -g -Wall -I .. -I ${PYINCDIR} -fpic -c ming_wrap.c
+ ${CC} ${CFLAGS} -g -Wall -I .. -I ${PYINCDIR} -fpic -c ming_wrap.c
- swig:
- swig -I.. -python ming.i
-@@ -24,4 +24,4 @@
+ ../libming.a:
+ cd ..; make static
+@@ -27,4 +27,4 @@
rm -f mingcmodule.so core *~ *.o ming.pyc
install: