From 7de06e3653fe7f19f1dcb7c06134b0715f7c9327 Mon Sep 17 00:00:00 2001 From: SADA Kenji Date: Fri, 7 Jul 2000 17:04:35 +0000 Subject: [PATCH] This program shows Japanese text in vertical format. You can use directives in input text and perform some effects. This software is like a kind of demonstration program. --- japanese/xjtext/Makefile | 41 ++++++++++++++++++++++++++++++++++ japanese/xjtext/distinfo | 1 + japanese/xjtext/files/patch-aa | 11 +++++++++ japanese/xjtext/files/patch-ab | 11 +++++++++ japanese/xjtext/pkg-comment | 1 + japanese/xjtext/pkg-descr | 8 +++++++ japanese/xjtext/pkg-message | 4 ++++ japanese/xjtext/pkg-plist | 12 ++++++++++ 8 files changed, 89 insertions(+) create mode 100644 japanese/xjtext/Makefile create mode 100644 japanese/xjtext/distinfo create mode 100644 japanese/xjtext/files/patch-aa create mode 100644 japanese/xjtext/files/patch-ab create mode 100644 japanese/xjtext/pkg-comment create mode 100644 japanese/xjtext/pkg-descr create mode 100644 japanese/xjtext/pkg-message create mode 100644 japanese/xjtext/pkg-plist diff --git a/japanese/xjtext/Makefile b/japanese/xjtext/Makefile new file mode 100644 index 000000000000..3bbaeb3b06b4 --- /dev/null +++ b/japanese/xjtext/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: xjtext +# Date created: 8 July 2000 +# Whom: sada +# +# $FreeBSD$ +# + +PORTNAME= xjtext +PORTVERSION= 1.3 +CATEGORIES= japanese +MASTER_SITES= http://plaza.harmonix.ne.jp/~onizuka/ +DISTNAME= XJTEXT-${PORTVERSION} + +MAINTAINER= sada@FreeBSD.org + +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ + png.4:${PORTSDIR}/graphics/png \ + tiff.4:${PORTSDIR}/graphics/tiff \ + ungif.5:${PORTSDIR}/graphics/libungif \ + Imlib.5:${PORTSDIR}/graphics/imlib +BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison + +EXAMPLEDIR= ${PREFIX}/share/examples/xjtext +DOCDIR= ${PREFIX}/share/doc/xjtext + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xjtext ${PREFIX}/bin + +post-install: + strip ${PREFIX}/bin/xjtext + ${MKDIR} ${EXAMPLEDIR} +.for i in FSS README YAMA \ + Ao.png Back2.png Brown.png Royal.png Royal2.png + ${INSTALL_DATA} ${WRKSRC}/$i ${EXAMPLEDIR} +.endfor +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCDIR} + ${INSTALL_MAN} ${WRKSRC}/README.txt ${DOCDIR} +.endif + +.include diff --git a/japanese/xjtext/distinfo b/japanese/xjtext/distinfo new file mode 100644 index 000000000000..ce501054ed68 --- /dev/null +++ b/japanese/xjtext/distinfo @@ -0,0 +1 @@ +MD5 (XJTEXT-1.3.tar.gz) = 875183ba7b1cab989e606b4006cf764f diff --git a/japanese/xjtext/files/patch-aa b/japanese/xjtext/files/patch-aa new file mode 100644 index 000000000000..855013bac1c3 --- /dev/null +++ b/japanese/xjtext/files/patch-aa @@ -0,0 +1,11 @@ +--- Makefile.orig Sat Jul 8 00:36:46 2000 ++++ Makefile Sat Jul 8 00:36:57 2000 +@@ -2,7 +2,7 @@ + CFLAGS =-c -g -O + INCDIRS =-I/usr/X11R6/include -I/usr/local/include + LIBS =-lX11 -lXext -lm -lfl +-IMLIBS =-ljpeg -lpng -ltiff -lz -lgif -lImlib ++IMLIBS =-ljpeg -lpng -ltiff -lz -lungif -lImlib + LIBDIRS =-L/usr/X11R6/lib/ -L/usr/local/lib + OBJS =xwindow.o xfont.o xtext.o xjtext.o lex.yy.o parser.tab.o xjtext-main.o + diff --git a/japanese/xjtext/files/patch-ab b/japanese/xjtext/files/patch-ab new file mode 100644 index 000000000000..e2f3fd789490 --- /dev/null +++ b/japanese/xjtext/files/patch-ab @@ -0,0 +1,11 @@ +--- xwindow.h.orig Sat Sep 4 22:45:16 1999 ++++ xwindow.h Sat Jul 8 01:08:55 2000 +@@ -60,7 +60,7 @@ + XSetLineAttributes(TheDisplay,TheGC,1,LineSolid,CapButt,JoinMiter); + XDrawLine(TheDisplay,TheWindow,TheGC,X1,Y1,X2,Y2); + } +- inline mapRaised(void) { XMapRaised(TheDisplay,TheWindow);} ++ inline void mapRaised(void) { XMapRaised(TheDisplay,TheWindow);} + }; + + #endif diff --git a/japanese/xjtext/pkg-comment b/japanese/xjtext/pkg-comment new file mode 100644 index 000000000000..98cc841ad1b2 --- /dev/null +++ b/japanese/xjtext/pkg-comment @@ -0,0 +1 @@ +A text viewer for Japanese virtical writings diff --git a/japanese/xjtext/pkg-descr b/japanese/xjtext/pkg-descr new file mode 100644 index 000000000000..1aacb4c75365 --- /dev/null +++ b/japanese/xjtext/pkg-descr @@ -0,0 +1,8 @@ +This program shows Japanese text in vertical format. +You can use directives in input text and perform some effects. +This software is like a kind of demonstration program. + +WWW: http://plaza.harmonix.ne.jp/~onizuka/Software.html + +- SADA Kenji +sada@FreeBSD.org diff --git a/japanese/xjtext/pkg-message b/japanese/xjtext/pkg-message new file mode 100644 index 000000000000..c1f21f099200 --- /dev/null +++ b/japanese/xjtext/pkg-message @@ -0,0 +1,4 @@ +Do like below for easy test play. + +$ cd PREFIX/share/examples/xjtext +$ xjtext README diff --git a/japanese/xjtext/pkg-plist b/japanese/xjtext/pkg-plist new file mode 100644 index 000000000000..85c864aa27c0 --- /dev/null +++ b/japanese/xjtext/pkg-plist @@ -0,0 +1,12 @@ +bin/xjtext +share/doc/xjtext/README.txt +share/examples/xjtext/Ao.png +share/examples/xjtext/Back2.png +share/examples/xjtext/Brown.png +share/examples/xjtext/FSS +share/examples/xjtext/README +share/examples/xjtext/Royal.png +share/examples/xjtext/Royal2.png +share/examples/xjtext/YAMA +@dirrm share/examples/xjtext +@dirrm share/doc/xjtext