aboutsummaryrefslogtreecommitdiff
path: root/japanese/escpf
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1996-12-19 03:33:10 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1996-12-19 03:33:10 +0000
commit165b9dfa021a09b60bdcd2edb5d9b0f51fe062bb (patch)
treefd8b165411903654cb42dbf2665ce5364dd9be54 /japanese/escpf
parente610545e1afade2a83c86e668a26c644da51b542 (diff)
downloadports-165b9dfa021a09b60bdcd2edb5d9b0f51fe062bb.tar.gz
ports-165b9dfa021a09b60bdcd2edb5d9b0f51fe062bb.zip
Text filters for ESC/P, ESC/Page & ESC/PS printers.
Reviewed by: max Submitted by: mita@jp.freebsd.org
Notes
Notes: svn path=/head/; revision=5029
Diffstat (limited to 'japanese/escpf')
-rw-r--r--japanese/escpf/Makefile23
-rw-r--r--japanese/escpf/distinfo1
-rw-r--r--japanese/escpf/files/patch-aa45
-rw-r--r--japanese/escpf/pkg-comment1
-rw-r--r--japanese/escpf/pkg-descr27
-rw-r--r--japanese/escpf/pkg-plist6
6 files changed, 103 insertions, 0 deletions
diff --git a/japanese/escpf/Makefile b/japanese/escpf/Makefile
new file mode 100644
index 000000000000..b0e24cd995ed
--- /dev/null
+++ b/japanese/escpf/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: escpf
+# Version required: 0.4beta2
+# Date created: 15 June 1996
+# Whom: Mita Yoshio <mita@iis.u-tokyo.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= escpf-0.4beta2
+PKGNAME= jp-escpf-0.4b2
+CATEGORIES= japanese print
+MASTER_SITES= http://www.bekkoame.or.jp/~wing/Linux/Escpf/
+
+MAINTAINER= mita@jp.FreeBSD.org
+
+DOCDIR= ${PREFIX}/share/doc/escpf
+
+post-install:
+ ${MKDIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/escpf.doc ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/escpf.euc ${DOCDIR}
+
+.include <bsd.port.mk>
diff --git a/japanese/escpf/distinfo b/japanese/escpf/distinfo
new file mode 100644
index 000000000000..82aa1724a2dd
--- /dev/null
+++ b/japanese/escpf/distinfo
@@ -0,0 +1 @@
+MD5 (escpf-0.4beta2.tar.gz) = fa5aab496f484c3e32ca9359c4b47703
diff --git a/japanese/escpf/files/patch-aa b/japanese/escpf/files/patch-aa
new file mode 100644
index 000000000000..0fa5a3bb642f
--- /dev/null
+++ b/japanese/escpf/files/patch-aa
@@ -0,0 +1,45 @@
+*** Makefile.orig Tue Aug 20 21:22:04 1996
+--- Makefile Wed Dec 18 23:39:21 1996
+***************
+*** 6,13 ****
+ #
+
+ # user setting
+! BINDIR = /usr/sbin # Linux
+! #BINDIR = /usr/local/libexec # FreeBSD
+
+ LINES = 66
+ COLUMNS = 80
+--- 6,14 ----
+ #
+
+ # user setting
+! #BINDIR = /usr/sbin # Linux
+! PREFIX?= /usr/local
+! BINDIR = ${PREFIX}/libexec # FreeBSD
+
+ LINES = 66
+ COLUMNS = 80
+***************
+*** 41,50 ****
+ # ${OBJS}: ${SRCS} ${HEADERS}
+
+ install: all
+! install -o bin -g bin -m 755 -s ./escpf ${BINDIR}
+! install -o bin -g bin -m 755 -s ./escpagef ${BINDIR}
+! install -o bin -g bin -m 755 -s ./escpsf ${BINDIR}
+! install -o bin -g bin -m 755 -s ./escpagesf ${BINDIR}
+
+ # auto select !?
+ # @if [ -d /usr/local/libexec ]; then \
+--- 42,51 ----
+ # ${OBJS}: ${SRCS} ${HEADERS}
+
+ install: all
+! install -c -o bin -g bin -m 755 -s ./escpf ${BINDIR}
+! install -c -o bin -g bin -m 755 -s ./escpagef ${BINDIR}
+! install -c -o bin -g bin -m 755 -s ./escpsf ${BINDIR}
+! install -c -o bin -g bin -m 755 -s ./escpagesf ${BINDIR}
+
+ # auto select !?
+ # @if [ -d /usr/local/libexec ]; then \
diff --git a/japanese/escpf/pkg-comment b/japanese/escpf/pkg-comment
new file mode 100644
index 000000000000..6cac756891bc
--- /dev/null
+++ b/japanese/escpf/pkg-comment
@@ -0,0 +1 @@
+Text filters for ESC/P, ESC/Page and ESC/PS printers
diff --git a/japanese/escpf/pkg-descr b/japanese/escpf/pkg-descr
new file mode 100644
index 000000000000..d34394c1b5ab
--- /dev/null
+++ b/japanese/escpf/pkg-descr
@@ -0,0 +1,27 @@
+escpf, escpagef, escpsf, and escpagesf are text filters for Epson compatible
+printers:
+
+escpf: text to ESC/P code.
+escpagef: text to ESC/Page code.
+escpsf: text to ESC/P code trough ESC/PS mode.
+escpagesf: text to ESC/Page code trough ESC/PS mode.
+
+JIS, and EUC KANJI code are detected and converted automatically.
+
+A simple usage:
+Add escp entry to /etc/printcap like:
+
+escp|ESC/P printer filter :\
+ :lp=/dev/lpt0:sd=/var/spool/lpd:\
+ :if=/usr/local/libexec/escpf:\
+ :mx#0:\
+ :pw#80:pl#66:\
+ :rw:sh:fo:\
+ :lf=/var/log/lpd-errs:
+
+after restarting lpd, you can print out text file by typing:
+
+lpr -Pescp textfilename
+
+See /usr/local/share/doc/escpf/escpf.doc (in English), or escpf.euc (
+in Japanese) for details.
diff --git a/japanese/escpf/pkg-plist b/japanese/escpf/pkg-plist
new file mode 100644
index 000000000000..23a05201d75e
--- /dev/null
+++ b/japanese/escpf/pkg-plist
@@ -0,0 +1,6 @@
+share/doc/escpf/escpf.doc
+share/doc/escpf/escpf.euc
+libexec/escpf
+libexec/escpsf
+libexec/escpagef
+libexec/escpagesf