Date: Sun, 28 Sep 1997 11:30:57 +0200 (CEST) From: mita@jp.FreeBSD.org To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/4645: A small change of japanese/escpf Message-ID: <199709280930.LAA03255@pcmita.isen.fr> Resent-Message-ID: <199709280940.CAA22628@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4645 >Category: ports >Synopsis: Enabled command line options such as TOP_MARGIN, etc. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 28 02:40:01 PDT 1997 >Last-Modified: >Originator: MITA Yoshio >Organization: C.N.R.S >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: 2.2.1-R + current bsd.*mk >Description: Enabled command line options like: # make TOP_MARGIN=9 LEFT_MARGIN=2 LINES=40 COLUMNS=88 LARGE_FONT=-DLARGE_FONT Requested-by: KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp> >How-To-Repeat: >Fix: diff -rcN japanese/escpf.orig/Makefile japanese/escpf/Makefile *** japanese/escpf.orig/Makefile Sun Sep 14 15:19:00 1997 --- japanese/escpf/Makefile Sun Sep 28 11:14:13 1997 *************** *** 14,23 **** --- 14,39 ---- MAINTAINER= mita@jp.FreeBSD.org DOCDIR= ${PREFIX}/share/doc/escpf + LINES?= 66 + COLUMNS?= 80 + TOP_MERGIN?= 5 + LEFT_MERGIN?= 5 + LARGE_FONT?= -DLARGE_FONT + MAKE_ENV+= LINES=${LINES} COLUMNS=${COLUMNS} \ + TOP_MERGIN=${TOP_MERGIN} LEFT_MERGIN=${LEFT_MERGIN} \ + LARGE_FONT="${LARGE_FONT}" + # You can specify page layout with: + # LINES : lines per page + # COLUMNS : characters per line + # TOP_MERGIN : top mergin with lines + # LEFT_MERGIN : left mergin with cahacters + # LARGE_FONT : if "-DLARGE_FONT" large font, "" small font post-install: + .if !defined(NOPORTDOCS) ${MKDIR} ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/escpf.doc ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/escpf.euc ${DOCDIR} + .endif .include <bsd.port.mk> diff -rcN japanese/escpf.orig/patches/patch-aa japanese/escpf/patches/patch-aa *** japanese/escpf.orig/patches/patch-aa Wed Dec 18 19:33:00 1996 --- japanese/escpf/patches/patch-aa Sun Sep 28 11:19:34 1997 *************** *** 1,25 **** ! *** 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} --- 1,35 ---- ! *** Makefile.orig Tue Aug 20 14:22:04 1996 ! --- Makefile Sun Sep 28 11:19:23 1997 *************** ! *** 6,18 **** # # user setting ! BINDIR = /usr/sbin # Linux ! #BINDIR = /usr/local/libexec # FreeBSD + ! + ! LINES = 66 + ! COLUMNS = 80 + ! TOP_MERGIN = 0 + ! LEFT_MERGIN = 0 ! CC = cc ! CFLAGS = -O -DLINES=${LINES} -DCOLUMNS=${COLUMNS} -DTOP_MERGIN=${TOP_MERGIN} -DLEFT_MERGIN=${LEFT_MERGIN} ! --- 6,19 ---- # # user setting ! #BINDIR = /usr/sbin # Linux ! PREFIX?= /usr/local ! BINDIR = ${PREFIX}/libexec # FreeBSD + ! + ! LINES ?= 66 + ! COLUMNS ?= 80 + ! TOP_MERGIN ?= 0 + ! LEFT_MERGIN ?= 0 ! CC = cc ! CFLAGS = -O -DLINES=${LINES} -DCOLUMNS=${COLUMNS} -DTOP_MERGIN=${TOP_MERGIN} -DLEFT_MERGIN=${LEFT_MERGIN} *************** *** 41,50 **** # ${OBJS}: ${SRCS} ${HEADERS} diff -rcN japanese/escpf.orig/pkg/DESCR japanese/escpf/pkg/DESCR *** japanese/escpf.orig/pkg/DESCR Wed Dec 18 19:33:00 1996 --- japanese/escpf/pkg/DESCR Sun Sep 28 11:04:31 1997 *************** *** 8,27 **** 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. --- 8,12 ---- JIS, and EUC KANJI code are detected and converted automatically. ! Read /usr/local/share/doc/escpf/escpf.doc (in English), or escpf.euc ! (in Japanese) for details. diff -rcN japanese/escpf.orig/pkg/PLIST japanese/escpf/pkg/PLIST *** japanese/escpf.orig/pkg/PLIST Wed Dec 18 19:33:00 1996 --- japanese/escpf/pkg/PLIST Sun Sep 28 11:09:22 1997 *************** *** 4,6 **** --- 4,7 ---- libexec/escpsf libexec/escpagef libexec/escpagesf + @dirrm share/doc/escpf >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709280930.LAA03255>