aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/xv/Makefile33
-rw-r--r--japanese/xv/pkg-comment1
-rw-r--r--japanese/xv/pkg-descr24
-rw-r--r--japanese/xv/pkg-plist4
4 files changed, 62 insertions, 0 deletions
diff --git a/japanese/xv/Makefile b/japanese/xv/Makefile
new file mode 100644
index 000000000000..48f18c4e7cf1
--- /dev/null
+++ b/japanese/xv/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: ja-xv
+# Version required: 3.10a
+# Date created: 07 Oct 1998
+# Whom: Shigeyuki FUKUSHIMA (shige@kuis.kyoto-u.ac.jp)
+#
+# $Id$
+#
+
+PKGNAME= ja-xv-3.10a
+CATEGORIES= japanese graphics
+
+MAINTAINER= shige@kuis.kyoto-u.ac.jp
+
+# can't use PORTSDIR here, since we haven't included bsd.port.mk
+FILESDIR= ${.CURDIR}/../../graphics/xv/files
+PATCHDIR= ${.CURDIR}/../../graphics/xv/patches
+
+MAKE_ENV= LOCALE_EXTENSION=-DTV_L10N
+
+RUN_DEPENDS= xv:${.CURDIR}/../../graphics/xv
+
+NOMAN= yes
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/xv ${PREFIX}/bin/ja-xv
+ @if [ ! -f ${PREFIX}/bin/xv.orig ]; then \
+ ${MV} ${PREFIX}/bin/xv ${PREFIX}/bin/xv.orig ;\
+ else \
+ ${RM} ${PREFIX}/bin/xv ;\
+ fi
+ @${LN} -sf ${PREFIX}/bin/ja-xv ${PREFIX}/bin/xv
+
+.include <${.CURDIR}/../../graphics/xv/Makefile>
diff --git a/japanese/xv/pkg-comment b/japanese/xv/pkg-comment
new file mode 100644
index 000000000000..0c691113bbfb
--- /dev/null
+++ b/japanese/xv/pkg-comment
@@ -0,0 +1 @@
+An X11 program that displays images of various formats with japanization.
diff --git a/japanese/xv/pkg-descr b/japanese/xv/pkg-descr
new file mode 100644
index 000000000000..2e95efebd1dd
--- /dev/null
+++ b/japanese/xv/pkg-descr
@@ -0,0 +1,24 @@
+Xv is an X11 program that displays images in the GIF,
+JPEG, TIFF, PBM, PGM, PPM, X11 bitmap, Utah Raster Toolkit
+RLE, PDS/VICAR, Sun Rasterfile, BMP, XPM, PCX, IRIS RGB,
+possibly PostScript, Portable Networking Format(PNG) and
+PM formats on workstations and terminals running the
+X Window System, Version 11.
+And more xv japanese extensions patch supports images in
+the MAKI, MAG, PIC, Pi PIC2, PhotoCD. And this patch also
+supports archived image files. Supported archivers are
+arc, arj, lzh, tar, tar+compress, tar+gzip, tar+bzip2, zip,
+and zoo.
+
+Note that this program is shareware except for personal use only.
+Please read the documentation in the directory
+
+ /usr/X11R6/share/doc/xv
+
+for proper usage.
+
+And this xv supports japanese character codes.
+These codes are as follow:
+ JIS(iso-2022-jp) / EUC / Shift-JIS
+
+--- Porting by. shige@kuis.kyoto-u.ac.jp
diff --git a/japanese/xv/pkg-plist b/japanese/xv/pkg-plist
new file mode 100644
index 000000000000..faf0da30d3fb
--- /dev/null
+++ b/japanese/xv/pkg-plist
@@ -0,0 +1,4 @@
+bin/ja-xv
+@exec [ ! -f %D/bin/xv.orig ] && mv -f %D/bin/xv %D/bin/xv.orig || rm %D/bin/xv
+@exec ln -sf %D/%F %D/bin/xv
+@unexec [ -f %D/bin/xv.orig ] && mv -f %D/bin/xv.orig %D/bin/xv