1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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.
This commit is contained in:
SADA Kenji 2000-07-07 17:04:35 +00:00
parent 27dc9a328f
commit 7de06e3653
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30308
8 changed files with 89 additions and 0 deletions

41
japanese/xjtext/Makefile Normal file
View File

@ -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 <bsd.port.mk>

1
japanese/xjtext/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (XJTEXT-1.3.tar.gz) = 875183ba7b1cab989e606b4006cf764f

View File

@ -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

View File

@ -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

View File

@ -0,0 +1 @@
A text viewer for Japanese virtical writings

View File

@ -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

View File

@ -0,0 +1,4 @@
Do like below for easy test play.
$ cd PREFIX/share/examples/xjtext
$ xjtext README

12
japanese/xjtext/pkg-plist Normal file
View File

@ -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