diff options
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/ming/Makefile | 85 | ||||
-rw-r--r-- | japanese/ming/distinfo | 1 | ||||
-rw-r--r-- | japanese/ming/files/Makefile | 107 | ||||
-rw-r--r-- | japanese/ming/files/patch-mingpp.h | 11 | ||||
-rw-r--r-- | japanese/ming/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/ming/pkg-descr | 6 | ||||
-rw-r--r-- | japanese/ming/pkg-plist | 51 |
8 files changed, 263 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index 2f09e723e242..318eed8e477c 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -225,6 +225,7 @@ SUBDIR += migemo-emacs21 SUBDIR += migemo-xemacs21-mule SUBDIR += mimekit + SUBDIR += ming SUBDIR += mnews SUBDIR += mnews-gnspool SUBDIR += mnews-im diff --git a/japanese/ming/Makefile b/japanese/ming/Makefile new file mode 100644 index 000000000000..27c97d9828bc --- /dev/null +++ b/japanese/ming/Makefile @@ -0,0 +1,85 @@ +# New ports collection makefile for: ja-Ming +# Date created: Aug 6 2002 +# Whom: kuriyama +# +# $FreeBSD$ +# + +PORTNAME= ming +PORTVERSION= 0.1.5 +CATEGORIES= japanese graphics +MASTER_SITES= http://blue.ribbon.to/~harpy/ming/jaming/ +DISTFILES= jaming-${PORTVERSION}${EXTRACT_SUFX} + +MAINTAINER= kuriyama@FreeBSD.org + +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ + ungif.5:${PORTSDIR}/graphics/libungif + +WRKSRC= ${WRKDIR}/jaming-${PORTVERSION}/src +MAKE_ARGS= NOPROFILE=true +INSTALLS_SHLIB= yes + +UTILS= gif2dbl \ + gif2mask \ + listfdb \ + listjpeg \ + listswf \ + makefdb \ + png2dbl \ + swftophp +DOCS= CHANGES \ + CREDITS \ + README \ + TODO +DOCS_UTIL= README \ + TODO + +post-extract: + ${SED} -e 's:"\.\./\.\./ming\.h":<ming.h>:g' \ + ${WRKSRC}/ming.h > ${WRKSRC}/mingpp.h + cd ${WRKSRC}/../util && \ + ${RM} bindump.c decompile5.c hexdump.c listmp3.c + +pre-build: + ${CP} ${FILESDIR}/Makefile ${WRKSRC}/ + cd ${WRKSRC}/actioncompiler; ${MAKE} lex.swf4.c lex.swf5.c swf4compiler.tab.c swf5compiler.tab.c + +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 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 + +pre-install: + ${MKDIR} ${PREFIX}/include/ming/blocks + +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 +.endif + +.include <bsd.port.mk> diff --git a/japanese/ming/distinfo b/japanese/ming/distinfo new file mode 100644 index 000000000000..187d61890ad5 --- /dev/null +++ b/japanese/ming/distinfo @@ -0,0 +1 @@ +MD5 (jaming-0.1.5.tar.gz) = ec50ba0947a571cdbae3a947f37c0a5b diff --git a/japanese/ming/files/Makefile b/japanese/ming/files/Makefile new file mode 100644 index 000000000000..6aa45b0f97e9 --- /dev/null +++ b/japanese/ming/files/Makefile @@ -0,0 +1,107 @@ +# $FreeBSD$ + +LIB= ming +SHLIB_MAJOR?= 3 +SHLIB_MINOR?= 0 +CFLAGS+= -I${.CURDIR}/actioncompiler -I${.CURDIR}/blocks -I${LOCALBASE}/include +LDADD= -lm +SRCS= blocklist.c \ + displaylist.c \ + fill.c \ + ming.c \ + movie.c \ + movieclip.c \ + position.c \ + shape_cubic.c \ + shape_util.c \ + text_util.c \ + actioncompiler/assembler.c \ + actioncompiler/compile.c \ + actioncompiler/compileaction.c \ + actioncompiler/lex.swf4.c \ + actioncompiler/lex.swf5.c \ + actioncompiler/swf4compiler.tab.c \ + actioncompiler/swf5compiler.tab.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/error.c \ + blocks/fillstyle.c \ + blocks/font.c \ + blocks/fontinfo.c \ + blocks/gradient.c \ + blocks/input.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/placeobject.c \ + blocks/rect.c \ + blocks/shape.c \ + blocks/soundstream.c \ + blocks/sprite.c \ + blocks/text.c \ + blocks/textfield.c +INCSGROUPS= INCS BLKS +INCS= blocklist.h \ + blocktypes.h \ + displaylist.h \ + fill.h \ + libming.h \ + ../ming.h \ + ../mingpp.h \ + movie.h \ + movieclip.h \ + position.h \ + shape_cubic.h \ + shape_util.h \ + text_util.h + +NOMAN= YES +LIBDIR= ${LOCALBASE}/lib +INCSDIR= ${LOCALBASE}/include/ming + +BLKS= block.h cxform.h \ + error.h exports.h \ + input.h matrix.h \ + outputblock.h placeobject.h \ + sound.h sprite.h \ + swf.h blocktypes.h \ + character.h libswf.h \ + method.h output.h \ + rect.h +BLKS:= ${BLKS:S;^;${.CURDIR}/blocks/;} +BLKSDIR= ${INCSDIR}/blocks + +.include <bsd.lib.mk> + +# For pre-bsd.incs.mk API +.if defined(INCOWN) +INCDIR= ${INCSDIR} +beforeinstall: + ${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \ + ${.CURDIR}/blocks/block.h ${.CURDIR}/blocks/cxform.h \ + ${.CURDIR}/blocks/error.h ${.CURDIR}/blocks/exports.h \ + ${.CURDIR}/blocks/input.h ${.CURDIR}/blocks/matrix.h \ + ${.CURDIR}/blocks/outputblock.h ${.CURDIR}/blocks/placeobject.h \ + ${.CURDIR}/blocks/sound.h ${.CURDIR}/blocks/sprite.h \ + ${.CURDIR}/blocks/swf.h ${.CURDIR}/blocks/blocktypes.h \ + ${.CURDIR}/blocks/character.h ${.CURDIR}/blocks/libswf.h \ + ${.CURDIR}/blocks/method.h ${.CURDIR}/blocks/output.h \ + ${.CURDIR}/blocks/rect.h ${INCDIR}/blocks/ +.endif + +dynamic: lib${LIB}.so + +static: lib${LIB}.a + diff --git a/japanese/ming/files/patch-mingpp.h b/japanese/ming/files/patch-mingpp.h new file mode 100644 index 000000000000..8fd367014b28 --- /dev/null +++ b/japanese/ming/files/patch-mingpp.h @@ -0,0 +1,11 @@ +--- ../mingpp.h Thu Mar 7 18:28:27 2002 ++++ ../mingpp.h Thu Mar 7 18:28:41 2002 +@@ -627,7 +627,7 @@ + void setColor(unsigned char r, unsigned char g, unsigned char b, int a=0xff) + { SWFText_setColor(this->text, r, g, b, a); } + +- void addString(const char *string, float *advance=NULL) ++ void addString(const char *string, int *advance=NULL) + { SWFText_addString(this->text, string, advance); } + + void setSpacing(float spacing) diff --git a/japanese/ming/pkg-comment b/japanese/ming/pkg-comment new file mode 100644 index 000000000000..e01d8a56137d --- /dev/null +++ b/japanese/ming/pkg-comment @@ -0,0 +1 @@ +LGPL'ed Flash 4/5 movie output library with Japanese languages support diff --git a/japanese/ming/pkg-descr b/japanese/ming/pkg-descr new file mode 100644 index 000000000000..685c59453cdc --- /dev/null +++ b/japanese/ming/pkg-descr @@ -0,0 +1,6 @@ +Ming is an LGPL'ed Flash 4/5 (TM) movie (SWF) output library with PHP, +Python, Ruby, Perl5, C and C++ interfaces. + +This port includes Japanese character enhancement. + +WWW: http://blue.ribbon.to/~harpy/ming/jaming/index.html diff --git a/japanese/ming/pkg-plist b/japanese/ming/pkg-plist new file mode 100644 index 000000000000..cbb8ee5ee99c --- /dev/null +++ b/japanese/ming/pkg-plist @@ -0,0 +1,51 @@ +bin/gif2dbl +bin/gif2mask +bin/listfdb +bin/listjpeg +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_cubic.h +include/ming/shape_util.h +include/ming/text_util.h +include/ming/blocks/block.h +include/ming/blocks/blocktypes.h +include/ming/blocks/character.h +include/ming/blocks/cxform.h +include/ming/blocks/error.h +include/ming/blocks/exports.h +include/ming/blocks/input.h +include/ming/blocks/libswf.h +include/ming/blocks/matrix.h +include/ming/blocks/method.h +include/ming/blocks/output.h +include/ming/blocks/outputblock.h +include/ming/blocks/placeobject.h +include/ming/blocks/rect.h +include/ming/blocks/sound.h +include/ming/blocks/sprite.h +include/ming/blocks/swf.h +include/ming/mingpp.h +@dirrm include/ming/blocks +@dirrm include/ming +lib/libming.a +lib/libming.so +lib/libming.so.3 +%%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 |