aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>2002-05-25 02:39:50 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>2002-05-25 02:39:50 +0000
commit4ec1b359c5b3a3a4d1ba626e02c546b67af51d68 (patch)
tree975dbad0f6ebe77d52618cc89b150f16904cdf92 /print
parent197c8cfc17948ebdda98832b0b6cc05dd1294d99 (diff)
downloadports-4ec1b359c5b3a3a4d1ba626e02c546b67af51d68.tar.gz
ports-4ec1b359c5b3a3a4d1ba626e02c546b67af51d68.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/pips800/Makefile15
-rw-r--r--print/pips800/files/filter13.rev15
-rw-r--r--print/pips800/pkg-plist1314
3 files changed, 39 insertions, 5 deletions
diff --git a/print/pips800/Makefile b/print/pips800/Makefile
index 1bf7326879f8..10ee49db1a27 100644
--- a/print/pips800/Makefile
+++ b/print/pips800/Makefile
@@ -74,6 +74,8 @@ DESCR= ${.CURDIR}/pkg-descr
LANGS= ja
RUN_DEPENDS+= ${LINUXBASE}/usr/share/locale/ja_JP/LC_COLLATE:${PORTSDIR}/japanese/linux_locale
PLIST= ${MASTERDIR}/pkg-plist20
+.elif ${PORTVERSION} == 1.3
+PLIST= ${MASTERDIR}/pkg-plist13
.elif ${PORTVERSION} == 1.3.1
LANGS= de es fr it ja ko nl pt zh zh_TW
RUN_DEPENDS+= ${LINUXBASE}/usr/share/locale/ja_JP/LC_COLLATE:${PORTSDIR}/japanese/linux_locale
@@ -142,14 +144,17 @@ $${GSCONF} < $$TMP | $${PIPS} -ui C,' \
${WRKDIR}/filter${PRTYPE} > ${WRKDIR}/filter${PRTYPE}.rev
.if ! defined(WITH_EKPD)
# Remake filter${PRTYPE}.rev
- ${SED} -e 's,$${GSCONF} | $${PIPS} -ui C,TMP=/tmp/pips.$$$$;\
-trap "rm -rf $$TMP; exit" 0 2 3 4 6 7 8 10 11 12 13 15;\
-psselect -r > $$TMP;\
-$${GSCONF} < $$TMP | $${PIPS} -ui C,' \
- -e 's,^GSCONF.*$$,GSCONF=${PREFIX}/libexec/pips${PRTYPE}/gsconfig${PRTYPE},' \
+.if ${PORTVERSION} == 1.3
+ ${SED} -e 's,^GSCONF.*$$,GSCONF=${PREFIX}/libexec/pips${PRTYPE}/gsconfig${PRTYPE},' \
+ -e 's,^PIPS.*$$,PIPS=${PREFIX}/bin/pips${PRTYPE},' \
+ -e 's,:/usr/local/bin$$,:${PREFIX}/bin,' \
+ ${FILESDIR}/filter13.rev > ${WRKDIR}/filter${PRTYPE}.rev
+.else
+ ${SED} -e 's,^GSCONF.*$$,GSCONF=${PREFIX}/libexec/pips${PRTYPE}/gsconfig${PRTYPE},' \
-e 's,^PIPS.*$$,PIPS=${PREFIX}/bin/pips${PRTYPE},' \
-e 's,:/usr/local/bin$$,:${PREFIX}/bin,' \
${FILESDIR}/filter.rev > ${WRKDIR}/filter${PRTYPE}.rev
+.endif
.endif #defined(WITH_EKPD)
.if ${PORTVERSION} == 2.0 || ${PORTVERSION} == 2.1
${MV} ${WRKDIR}/ekpdrc ${WRKDIR}/ekpdrc.org
diff --git a/print/pips800/files/filter13.rev b/print/pips800/files/filter13.rev
new file mode 100644
index 000000000000..7a5cdc9c487b
--- /dev/null
+++ b/print/pips800/files/filter13.rev
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+PATH=${PATH}:/usr/bin:/usr/local/bin
+
+GSCONF=/usr/local/EPKowa/PM800C/gsconfig800
+PIPS=/usr/local/bin/pips800
+
+TMP=/tmp/pips.$$
+
+trap "rm -rf $TMP; exit" 0 2 3 4 6 7 8 10 11 12 13 15
+psselect -r > $TMP
+# To support printing via USB port for Ver. 1.3 (only pips3300)
+perl -e 'print "\000\000\000\033\001\@EJL\ 1284.4\n\@EJL \n\033\@"'
+${GSCONF} < $TMP | ${PIPS} -ui C
+rm -rf $TMP
diff --git a/print/pips800/pkg-plist13 b/print/pips800/pkg-plist13
new file mode 100644
index 000000000000..91b269e0ee2d
--- /dev/null
+++ b/print/pips800/pkg-plist13
@@ -0,0 +1,14 @@
+bin/pips%%PRTYPE%%
+libexec/%%BASE_NAME%%/filter%%PRTYPE%%
+libexec/%%BASE_NAME%%/filter%%PRTYPE%%.rev
+libexec/%%BASE_NAME%%/gsconfig%%PRTYPE%%
+libexec/%%BASE_NAME%%/setup
+libexec/%%BASE_NAME%%/scripts/en.lc
+libexec/%%BASE_NAME%%/scripts/ja.lc
+@dirrm libexec/%%BASE_NAME%%/scripts
+share/doc/%%BASE_NAME%%/readme%%PRTYPE%%
+%%LIB_README%%
+@dirrm libexec/%%BASE_NAME%%
+@dirrm share/doc/%%BASE_NAME%%
+@cwd /compat/linux
+%%LIB_DIR_FILE%%