diff options
author | knu <knu@FreeBSD.org> | 2001-01-21 13:57:50 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-01-21 13:57:50 +0800 |
commit | a8642f404195141a6487aaf8731701680745727e (patch) | |
tree | c273201d2ea5a52954fbec8b1120e7aee2ff688b /graphics/py-ming/files | |
parent | 93b63fea2b440c26cfd7c716969aa2b5227f033c (diff) | |
download | freebsd-ports-gnome-a8642f404195141a6487aaf8731701680745727e.tar.gz freebsd-ports-gnome-a8642f404195141a6487aaf8731701680745727e.tar.zst freebsd-ports-gnome-a8642f404195141a6487aaf8731701680745727e.zip |
Update to Ming 0.0.9b. Now it creates Flash 4 movies.
Ports of the Perl5 module and the Ming utilities will follow soon if I
can take the time.
Diffstat (limited to 'graphics/py-ming/files')
-rw-r--r-- | graphics/py-ming/files/patch-Makefile | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/graphics/py-ming/files/patch-Makefile b/graphics/py-ming/files/patch-Makefile index 7da12fdc4941..bfb35330acab 100644 --- a/graphics/py-ming/files/patch-Makefile +++ b/graphics/py-ming/files/patch-Makefile @@ -1,18 +1,25 @@ ---- Makefile.orig Wed Oct 25 07:02:37 2000 -+++ Makefile Wed Oct 25 13:11:16 2000 -@@ -1,11 +1,10 @@ +--- Makefile.orig Fri Jan 5 08:05:13 2001 ++++ Makefile Sat Jan 20 05:05:03 2001 +@@ -1,12 +1,12 @@ + #PYINCDIR = /usr/local/include/python2.0 + #PYLIBDIR = /usr/local/lib/python2.0 + +-PYINCDIR = /usr/include/python1.5 +-PYLIBDIR = /usr/lib/python1.5 ++PYINCDIR = ${LOCALBASE}/include/${PYTHON_VERSION} ++PYLIBDIR = ${LOCALBASE}/lib/${PYTHON_VERSION} + all: -- 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} -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 +- gcc -g -Wall -I .. -I ${PYINCDIR} -fpic -c ming_wrap.c +- gcc -g -Wall -L .. -shared -o mingcmodule.so ming_wrap.o -lming ++ ${CC} ${CFLAGS} -g -Wall -I .. -I ${PYINCDIR} -fpic -c ming_wrap.c ++ ${CC} -g -Wall -L .. -shared -o mingcmodule.so ming_wrap.o -L${LOCALBASE}/lib -lming - clean: - rm -f mingcmodule.so core *~ *.o ming_wrap* + swig: + swig -I.. -python ming.i +@@ -15,4 +15,4 @@ + rm -f mingcmodule.so core *~ *.o install: -- cp mingcmodule.so ming.py /usr/lib/python1.5/site-packages -- chmod 755 /usr/lib/python1.5/site-packages/mingcmodule.so -+ ${BSD_INSTALL_DATA} mingcmodule.so ming.py ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages +- cp mingcmodule.so ming.py ${PYLIBDIR}/site-packages ++ ${BSD_INSTALL_DATA} mingcmodule.so ming.py ${PYLIBDIR}/site-packages |