diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2002-08-06 20:15:30 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2002-08-06 20:15:30 +0800 |
commit | b28264131ca7727cf4c3c63adf078a366c437f20 (patch) | |
tree | a127d48a13b2dbef2c489e0052672c6f5a6d73ea /japanese/ming/Makefile | |
parent | cc957c06c96442f44720ac2194b2af4be79c9670 (diff) | |
download | freebsd-ports-gnome-b28264131ca7727cf4c3c63adf078a366c437f20.tar.gz freebsd-ports-gnome-b28264131ca7727cf4c3c63adf078a366c437f20.tar.zst freebsd-ports-gnome-b28264131ca7727cf4c3c63adf078a366c437f20.zip |
Ming with Japanese charachter enhancement.
Diffstat (limited to 'japanese/ming/Makefile')
-rw-r--r-- | japanese/ming/Makefile | 85 |
1 files changed, 85 insertions, 0 deletions
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> |