Index: head/graphics/ming/Makefile =================================================================== --- head/graphics/ming/Makefile (revision 40085) +++ head/graphics/ming/Makefile (revision 40086) @@ -1,102 +1,99 @@ # New ports collection makefile for: Ming # Date created: 14 October 2000 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= ming -PORTVERSION= 0.0.9b -PORTREVISION= 1 +PORTVERSION= 0.1.0 CATEGORIES= graphics MASTER_SITES= http://www.opaque.net/ming/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-examples${EXTRACT_SUFX} EXTRACT_SUFX= .tgz MAINTAINER= knu@FreeBSD.org LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \ ungif.5:${PORTSDIR}/graphics/libungif WRKSRC= ${WRKDIR}/${DISTNAME}/src MAKE_ARGS= NOPROFILE=true UTILS= gif2dbl \ gif2mask \ listfdb \ listjpeg \ - listmp3 \ listswf \ makefdb \ png2dbl \ swftophp DOCS= CHANGES \ CREDITS \ README \ TODO DOCS_UTIL= README \ TODO post-extract: + ${LN} -s ${WRKDIR}/${PORTNAME}-examples ${WRKSRC}/../examples ${MKDIR} ${WRKSRC}/c++ ${CP} ${WRKSRC}/../c++_ext/ming.h ${WRKSRC}/c++/ cd ${WRKSRC}/../util && \ - ${RM} bindump.c hexdump.c + ${RM} bindump.c hexdump.c listmp3.c post-patch: ${PERL} -i -p \ -e 's:"\.\./\.\./c\+\+_ext/ming\.h"::g;' \ -e 's:"\.\./\.\./ming\.h"::g;' \ ${WRKSRC}/../examples/c/* \ ${WRKSRC}/../examples/c++/* \ - ${WRKSRC}/../examples/common/* \ ${WRKSRC}/c++/ming.h pre-build: ${CP} ${FILESDIR}/Makefile ${WRKSRC}/ post-build: cd ${WRKSRC}/../util && \ ${CC} ${CFLAGS} -I${PREFIX}/include -I${PREFIX}/include/ming -c *.c cd ${WRKSRC}/../util && \ ${CC} ${CFLAGS} -L${PREFIX}/lib -o gif2dbl gif2dbl.o -lm -lz -lungif cd ${WRKSRC}/../util && \ ${CC} ${CFLAGS} -L${PREFIX}/lib -o gif2mask gif2mask.o -lm -lz -lungif cd ${WRKSRC}/../util && \ ${CC} ${CFLAGS} -L${PREFIX}/lib -o listfdb listfdb.o blocktypes.o cd ${WRKSRC}/../util && \ ${CC} ${CFLAGS} -L${PREFIX}/lib -o listjpeg listjpeg.o - cd ${WRKSRC}/../util && \ - ${CC} ${CFLAGS} -L${PREFIX}/lib -o listmp3 listmp3.o cd ${WRKSRC}/../util && \ ${CC} ${CFLAGS} -L${PREFIX}/lib -o listswf listswf.o blocktypes.o decompile.o read.o -lz cd ${WRKSRC}/../util && \ ${CC} ${CFLAGS} -L${PREFIX}/lib -o makefdb makefdb.o blocktypes.o read.o cd ${WRKSRC}/../util && \ ${CC} ${CFLAGS} -L${PREFIX}/lib -o png2dbl png2dbl.o -lm -lz -lpng cd ${WRKSRC}/../util && \ ${CC} ${CFLAGS} -L${PREFIX}/lib -o swftophp swftophp.o blocktypes.o decompile.o read.o -lm post-install: .for f in ${UTILS} ${INSTALL_PROGRAM} ${WRKSRC}/../util/${f} ${PREFIX}/bin/ .endfor .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/ming/utils .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/../${f} ${PREFIX}/share/doc/ming/ .endfor .for f in ${DOCS_UTIL} ${INSTALL_DATA} ${WRKSRC}/../util/${f} ${PREFIX}/share/doc/ming/utils/ .endfor ${MKDIR} ${PREFIX}/share/examples/ming/common ${INSTALL_DATA} ${WRKSRC}/../examples/common/* \ ${PREFIX}/share/examples/ming/common/ ${MKDIR} ${PREFIX}/share/examples/ming/c ${INSTALL_DATA} ${WRKSRC}/../examples/c/*.c \ ${PREFIX}/share/examples/ming/c/ ${MKDIR} ${PREFIX}/share/examples/ming/c++ ${INSTALL_DATA} ${WRKSRC}/../examples/c++/*.cpp \ ${PREFIX}/share/examples/ming/c++/ .endif .include Property changes on: head/graphics/ming/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/graphics/ming/distinfo =================================================================== --- head/graphics/ming/distinfo (revision 40085) +++ head/graphics/ming/distinfo (revision 40086) @@ -1 +1,2 @@ -MD5 (ming-0.0.9b.tgz) = 4b3117322e0af30a19514240f1df9566 +MD5 (ming-0.1.0.tgz) = 46c50300dfd0d077c23c53dfcc4d3c41 +MD5 (ming-examples.tgz) = 13b3103becb9ec0d797179c56142bb6c Property changes on: head/graphics/ming/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/graphics/ming/files/Makefile =================================================================== --- head/graphics/ming/files/Makefile (revision 40085) +++ head/graphics/ming/files/Makefile (revision 40086) @@ -1,87 +1,89 @@ # $FreeBSD$ LIB= ming SHLIB_MAJOR?= 2 SHLIB_MINOR?= 0 CFLAGS+= -I${.CURDIR}/actioncompiler -I${.CURDIR}/blocks -I${LOCALBASE}/include LDADD= -lm SRCS= blocklist.c \ displaylist.c \ ming.c \ movie.c \ movieclip.c \ position.c \ shape_util.c \ + text_util.c \ actioncompiler/compile.c \ actioncompiler/compileaction.c \ actioncompiler/compiler.tab.c \ actioncompiler/lex.yy.c \ blocks/action.c \ blocks/bitmap.c \ blocks/block.c \ blocks/browserfont.c \ blocks/button.c \ blocks/character.c \ blocks/cxform.c \ blocks/dbl.c \ blocks/fillstyle.c \ blocks/font.c \ blocks/fontinfo.c \ blocks/gradient.c \ blocks/jpeg.c \ blocks/linestyle.c \ blocks/loadfont.c \ blocks/matrix.c \ blocks/method.c \ blocks/morph.c \ blocks/mp3.c \ blocks/output.c \ blocks/outputblock.c \ blocks/rect.c \ blocks/shape.c \ blocks/soundstream.c \ blocks/sprite.c \ blocks/text.c \ blocks/textfield.c INCS= blocklist.h \ blocktypes.h \ displaylist.h \ fill.h \ libming.h \ ming.h \ movie.h \ movieclip.h \ position.h \ - shape_util.h + shape_util.h \ + text_util.h NOMAN= YES LIBDIR= ${LOCALBASE}/lib INCDIR= ${LOCALBASE}/include/ming .include # For FreeBSD 3.x or older .if !target(_includeinstall) _includeinstall: .if defined(INCS) .for header in ${INCS} cd ${.CURDIR} && \ ${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \ ${header} ${DESTDIR}${INCDIR} .endfor .endif beforeinstall: _includeinstall .endif _includeinstall: pre-_includeinstall pre-_includeinstall: mkdir -p ${DESTDIR}${INCDIR}/blocks ${DESTDIR}${INCDIR}/c++ beforeinstall: ${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \ ${.CURDIR}/blocks/swf.h ${INCDIR}/blocks/ ${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \ ${.CURDIR}/c++/ming.h ${INCDIR}/c++/ Property changes on: head/graphics/ming/files/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/graphics/ming/pkg-plist =================================================================== --- head/graphics/ming/pkg-plist (revision 40085) +++ head/graphics/ming/pkg-plist (revision 40086) @@ -1,88 +1,88 @@ bin/gif2dbl bin/gif2mask bin/listfdb bin/listjpeg -bin/listmp3 bin/listswf bin/makefdb bin/png2dbl bin/swftophp include/ming/blocklist.h include/ming/blocktypes.h include/ming/displaylist.h include/ming/fill.h include/ming/libming.h include/ming/ming.h include/ming/movie.h include/ming/movieclip.h include/ming/position.h include/ming/shape_util.h +include/ming/text_util.h include/ming/blocks/swf.h include/ming/c++/ming.h @dirrm include/ming/blocks @dirrm include/ming/c++ @dirrm include/ming lib/libming.a lib/libming.so lib/libming.so.2 %%PORTDOCS%%share/doc/ming/CHANGES %%PORTDOCS%%share/doc/ming/CREDITS %%PORTDOCS%%share/doc/ming/README %%PORTDOCS%%share/doc/ming/TODO %%PORTDOCS%%share/doc/ming/utils/README %%PORTDOCS%%share/doc/ming/utils/TODO %%PORTDOCS%%@dirrm share/doc/ming/utils %%PORTDOCS%%@dirrm share/doc/ming %%PORTDOCS%%share/examples/ming/c/action.c %%PORTDOCS%%share/examples/ming/c/alphafill.c %%PORTDOCS%%share/examples/ming/c/animation.c %%PORTDOCS%%share/examples/ming/c/bitmapxform.c %%PORTDOCS%%share/examples/ming/c/button.c %%PORTDOCS%%share/examples/ming/c/cxform.c %%PORTDOCS%%share/examples/ming/c/drag.c %%PORTDOCS%%share/examples/ming/c/glyph.c %%PORTDOCS%%share/examples/ming/c/gradient.c %%PORTDOCS%%share/examples/ming/c/gradientxform.c %%PORTDOCS%%share/examples/ming/c/jpegfill.c %%PORTDOCS%%share/examples/ming/c/keypress.c %%PORTDOCS%%share/examples/ming/c/morph.c %%PORTDOCS%%share/examples/ming/c/mousetrack.c %%PORTDOCS%%share/examples/ming/c/newbutton.c %%PORTDOCS%%share/examples/ming/c/png.c %%PORTDOCS%%share/examples/ming/c/pngalpha.c %%PORTDOCS%%share/examples/ming/c/shape.c %%PORTDOCS%%share/examples/ming/c/sprite.c %%PORTDOCS%%share/examples/ming/c/streammp3.c %%PORTDOCS%%share/examples/ming/c/text.c %%PORTDOCS%%@dirrm share/examples/ming/c %%PORTDOCS%%share/examples/ming/c++/action.cpp %%PORTDOCS%%share/examples/ming/c++/alphafill.cpp %%PORTDOCS%%share/examples/ming/c++/animation.cpp %%PORTDOCS%%share/examples/ming/c++/bitmapxform.cpp %%PORTDOCS%%share/examples/ming/c++/button.cpp %%PORTDOCS%%share/examples/ming/c++/cxform.cpp %%PORTDOCS%%share/examples/ming/c++/drag.cpp %%PORTDOCS%%share/examples/ming/c++/glyph.cpp %%PORTDOCS%%share/examples/ming/c++/gradient.cpp %%PORTDOCS%%share/examples/ming/c++/gradientxform.cpp %%PORTDOCS%%share/examples/ming/c++/jpegfill.cpp %%PORTDOCS%%share/examples/ming/c++/keypress.cpp %%PORTDOCS%%share/examples/ming/c++/morph.cpp %%PORTDOCS%%share/examples/ming/c++/mousetrack.cpp %%PORTDOCS%%share/examples/ming/c++/newbutton.cpp %%PORTDOCS%%share/examples/ming/c++/png.cpp %%PORTDOCS%%share/examples/ming/c++/pngalpha.cpp %%PORTDOCS%%share/examples/ming/c++/shape.cpp %%PORTDOCS%%share/examples/ming/c++/sprite.cpp %%PORTDOCS%%share/examples/ming/c++/streammp3.cpp %%PORTDOCS%%share/examples/ming/c++/text.cpp %%PORTDOCS%%@dirrm share/examples/ming/c++ %%PORTDOCS%%share/examples/ming/common/alpha.dbl %%PORTDOCS%%share/examples/ming/common/alphafill.jpg %%PORTDOCS%%share/examples/ming/common/alphafill.msk %%PORTDOCS%%share/examples/ming/common/backyard.jpg %%PORTDOCS%%share/examples/ming/common/distortobass.mp3 %%PORTDOCS%%share/examples/ming/common/png.dbl %%PORTDOCS%%share/examples/ming/common/test.fdb %%PORTDOCS%%@dirrm share/examples/ming/common %%PORTDOCS%%@dirrm share/examples/ming Property changes on: head/graphics/ming/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/graphics/py-ming/Makefile =================================================================== --- head/graphics/py-ming/Makefile (revision 40085) +++ head/graphics/py-ming/Makefile (revision 40086) @@ -1,44 +1,49 @@ # New ports collection makefile for: Python/Ming # Date created: 16 Oct 2000 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= ming -PORTVERSION= 0.0.9b +PORTVERSION= 0.1.0 CATEGORIES= graphics python -MASTER_SITES= http://www.opaque.net/ming/ +MASTER_SITES= # none PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -EXTRACT_SUFX= .tgz +DISTFILES= # none MAINTAINER= knu@FreeBSD.org +BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/ming:patch LIB_DEPENDS= ming.2:${PORTSDIR}/graphics/ming USE_PYTHON= yes MD5_FILE= ${.CURDIR}/../ming/distinfo WRKSRC= ${WRKDIR}/${DISTNAME}/py_ext MAKE_ARGS= PYTHON_VERSION="${PYTHON_VERSION}" EXAMPLES= shape.py test.py ../examples/python/*.py + +do-extract: + ${MKDIR} ${WRKDIR} + ${LN} -s `cd ${PORTSDIR}/graphics/ming && ${MAKE} -V WRKDIR`/* ${WRKDIR}/ post-extract: ${LN} -sf ../ming.i ${WRKSRC}/ post-patch: ${PERL} -i -p \ -e 's:\.\./common:../../ming/common:g;' \ ${WRKSRC}/../examples/python/* post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/examples/${PYTHON_VERSION}/ming .for f in ${EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/examples/${PYTHON_VERSION}/ming/ .endfor .endif .include Property changes on: head/graphics/py-ming/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.6 \ No newline at end of property +1.7 \ No newline at end of property Index: head/graphics/py-ming/files/patch-Makefile =================================================================== --- head/graphics/py-ming/files/patch-Makefile (revision 40085) +++ head/graphics/py-ming/files/patch-Makefile (revision 40086) @@ -1,25 +1,35 @@ ---- Makefile.orig Fri Jan 5 08:05:13 2001 -+++ Makefile Sat Jan 20 05:05:03 2001 -@@ -1,12 +1,12 @@ +--- Makefile.orig Mon Mar 19 10:26:33 2001 ++++ Makefile Tue Mar 20 18:28:05 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 = ${LOCALBASE}/include/${PYTHON_VERSION} +PYLIBDIR = ${LOCALBASE}/lib/${PYTHON_VERSION} - all: +-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 + + mingc.pyd: ming_wrap.o + dllwrap --dllname mingc.pyd --driver-name gcc --def mingc.def \ +@@ -15,7 +15,7 @@ + --target=i386-mingw32 -Llib/ -lpython15 + + ming_wrap.o: ming_wrap.c - 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 swig: swig -I.. -python ming.i -@@ -15,4 +15,4 @@ - rm -f mingcmodule.so core *~ *.o +@@ -24,4 +24,4 @@ + rm -f mingcmodule.so core *~ *.o ming.pyc install: - cp mingcmodule.so ming.py ${PYLIBDIR}/site-packages + ${BSD_INSTALL_DATA} mingcmodule.so ming.py ${PYLIBDIR}/site-packages Property changes on: head/graphics/py-ming/files/patch-Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/graphics/ruby-ming/Makefile =================================================================== --- head/graphics/ruby-ming/Makefile (revision 40085) +++ head/graphics/ruby-ming/Makefile (revision 40086) @@ -1,46 +1,51 @@ # New ports collection makefile for: Ruby/Ming # Date created: 16 Oct 2000 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= ming -PORTVERSION= 0.0.9b +PORTVERSION= 0.1.0 CATEGORIES= graphics ruby -MASTER_SITES= http://www.opaque.net/ming/ +MASTER_SITES= # none PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -EXTRACT_SUFX= .tgz +DISTFILES= # none MAINTAINER= knu@FreeBSD.org -BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/SWIG-devel +BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/SWIG-devel \ + ${NONEXISTENT}:${PORTSDIR}/graphics/ming:patch LIB_DEPENDS= ming.2:${PORTSDIR}/graphics/ming USE_RUBY= yes USE_RUBY_EXTCONF= yes MD5_FILE= ${.CURDIR}/../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 + +do-extract: + ${MKDIR} ${WRKDIR} + ${LN} -s `cd ${PORTSDIR}/graphics/ming && ${MAKE} -V WRKDIR`/* ${WRKDIR}/ post-extract: ${LN} -sf ../ming.i ${WRKSRC}/ post-install: ${INSTALL_DATA} ${WRKSRC}/ming.rb ${RUBY_SITELIBDIR}/ .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_EXAMPLESDIR}/ming .for f in ${EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/ming/ .endfor .endif .include Property changes on: head/graphics/ruby-ming/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property