summaryrefslogtreecommitdiff
path: root/print/pcps
diff options
context:
space:
mode:
authorrh <rh>2000-11-23 13:47:00 +0000
committerrh <rh>2000-11-23 13:47:00 +0000
commit36194ee726c21bb00cb64e57dbe816bf7cb68640 (patch)
treeb3f674a7536a1e312326d6708df9473866d303eb /print/pcps
parent5833a63bff22d122a0ffb40c18030e19a6bef982 (diff)
downloadpkgsrc-36194ee726c21bb00cb64e57dbe816bf7cb68640.tar.gz
Initial import of pcps-8.40, a text to postscript converter. Closes PR
10534 by John Refling <refling@comet.lbl.gov>
Diffstat (limited to 'print/pcps')
-rw-r--r--print/pcps/Makefile36
-rw-r--r--print/pcps/files/md53
-rw-r--r--print/pcps/files/patch-sum3
-rw-r--r--print/pcps/files/pcps.110
-rw-r--r--print/pcps/files/pcps.cfg1
-rw-r--r--print/pcps/patches/patch-aa46
-rw-r--r--print/pcps/pkg/COMMENT1
-rw-r--r--print/pcps/pkg/DESCR24
-rw-r--r--print/pcps/pkg/MESSAGE12
-rw-r--r--print/pcps/pkg/PLIST8
10 files changed, 144 insertions, 0 deletions
diff --git a/print/pcps/Makefile b/print/pcps/Makefile
new file mode 100644
index 00000000000..81b95c73796
--- /dev/null
+++ b/print/pcps/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/11/23 13:47:00 rh Exp $
+#
+
+DISTNAME= pcps840
+PKGNAME= pcps-8.40
+NO_WRKSUBDIR= yes
+CATEGORIES= print textproc
+MASTER_SITES= ftp://garbo.uwasa.fi/unix/pcps/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.swreg.org/soft_shop/695/shopscr3.shtml
+
+MAKEFILE= makefile
+ALL_TARGET=
+MAKE_ENV+= "CC=${CC} ${CFLAGS} -DUNIX"
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
+
+LICENSE= shareware
+RESTRICTED= This is shareware for your evaluation and subsequent payment
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_BIN_ON_CDROM=${RESTRICTED}
+
+do-configure:
+ ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' < ${PKGDIR}/MESSAGE \
+ >${WRKDIR}/MESSAGE
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/pcps ${PREFIX}/bin/pcps
+ @${INSTALL_MAN} ${FILESDIR}/pcps.1 ${PREFIX}/man/man1
+ @${INSTALL_DATA} ${FILESDIR}/pcps.cfg ${PREFIX}/bin/pcps.cfg
+ @${INSTALL_DATA_DIR} ${WRKSRC}/license.doc ${PREFIX}/share/doc/pcps
+ @${INSTALL_DATA} ${WRKSRC}/license.doc ${PREFIX}/share/doc/pcps
+ @${INSTALL_DATA} ${WRKSRC}/register.doc ${PREFIX}/share/doc/pcps
+ @${INSTALL_DATA} ${WRKSRC}/pcps.man ${PREFIX}/share/doc/pcps
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/pcps/files/md5 b/print/pcps/files/md5
new file mode 100644
index 00000000000..0008fbc22d0
--- /dev/null
+++ b/print/pcps/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/11/23 13:47:00 rh Exp $
+
+MD5 (pcps840.tar.gz) = 79d594e2054253984b183d351aff6835
diff --git a/print/pcps/files/patch-sum b/print/pcps/files/patch-sum
new file mode 100644
index 00000000000..2246ae748ce
--- /dev/null
+++ b/print/pcps/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/11/23 13:47:00 rh Exp $
+
+MD5 (patch-aa) = 6fcdb6eb2f10c1ac414456a392ebae4f
diff --git a/print/pcps/files/pcps.1 b/print/pcps/files/pcps.1
new file mode 100644
index 00000000000..fdbf29889e4
--- /dev/null
+++ b/print/pcps/files/pcps.1
@@ -0,0 +1,10 @@
+.TH PCPS 1
+.SH NAME
+pcps \- A utility to print text files on a PostScript(tm) printer.
+.SH DESCRIPTION
+Many features are included: word wrapping, scaling, rotation,
+2-up and 4-up printing, duplex, banners, etc. See
+share/doc/pcps/pcps.man (within your package tree) for
+additonal details, or run the program
+without arguments. This is shareware and requires payment. See
+share/doc/pcps/license.doc for details.
diff --git a/print/pcps/files/pcps.cfg b/print/pcps/files/pcps.cfg
new file mode 100644
index 00000000000..b495256b91d
--- /dev/null
+++ b/print/pcps/files/pcps.cfg
@@ -0,0 +1 @@
+-dfo -dt2 -qu -szlt
diff --git a/print/pcps/patches/patch-aa b/print/pcps/patches/patch-aa
new file mode 100644
index 00000000000..cb2edb88e4e
--- /dev/null
+++ b/print/pcps/patches/patch-aa
@@ -0,0 +1,46 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/11/23 13:47:00 rh Exp $
+
+--- ./makefile.orig Tue Apr 4 20:06:22 2000
++++ ./makefile Mon May 22 13:40:03 2000
+@@ -12,7 +12,7 @@
+ # CC defines the C compiler to be used - must be ansi (ie. old cc no good)
+ #CC=gcc
+ # a good one for HP_UX
+-CC=c89
++#CC=c89
+
+
+ ###########################################################################
+@@ -41,8 +41,8 @@
+ # the default printer to send the PostScript. Most systems will have an
+ # alias "PostScript" but some systems may just call it "lp" or "lp0"
+
+-DEFP="-DDEFPRINT=\"PostScript\""
+-# DEFP="-DDEFPRINT=\"lp\""
++#DEFP="-DDEFPRINT=\"PostScript\""
++DEFP="-DDEFPRINT=\"lp\""
+
+
+ # DEFAULT PRINT COMMAND */
+@@ -51,10 +51,10 @@
+ # HP_UX uses "lp -d" so I have this defined also */
+
+ # Most older systems
+-#PIPE="-DPIPECMD=\"lpr -P\""
++PIPE="-DPIPECMD=\"lpr -P\""
+
+ # HP_UX, AIX, SOLARIS2.4 etc.
+-PIPE="-DPIPECMD=\"lp -d\""
++#PIPE="-DPIPECMD=\"lp -d\""
+
+
+
+@@ -78,7 +78,7 @@
+ # DEC ULTRIX, bull dpx2 :
+ #DEFINES=-DUNIX -DULTRIX
+ # HP_UX using c89 :
+-DEFINES=-DUNIX -D_PROTOTYPES -D_INCLUDE_POSIX_SOURCE -D_XPG2 -DHP_UX
++#DEFINES=-DUNIX -D_PROTOTYPES -D_INCLUDE_POSIX_SOURCE -D_XPG2 -DHP_UX
+ # NeXT using cc :
+ #DEFINES=-DUNIX -DULTRIX -DNEXT
+ # Linux :
diff --git a/print/pcps/pkg/COMMENT b/print/pcps/pkg/COMMENT
new file mode 100644
index 00000000000..573d68e4d49
--- /dev/null
+++ b/print/pcps/pkg/COMMENT
@@ -0,0 +1 @@
+converts text files to PostScript(tm)
diff --git a/print/pcps/pkg/DESCR b/print/pcps/pkg/DESCR
new file mode 100644
index 00000000000..4e3eeb341d5
--- /dev/null
+++ b/print/pcps/pkg/DESCR
@@ -0,0 +1,24 @@
+A utility to print text files on a PostScript(tm) printer. Many
+features are included: word wrapping, scaling, rotation,
+2-up and 4-up printing, duplex, banners, etc.
+
+The configuration file is set for US 8.5x11 inch paper
+and some other options you may wish to customize.
+
+PCPS is Copyright (c) 1992-2000 by MicroSource. PCPS IS NOT FREE, this
+version is SHAREWARE. See the included license file for more details.
+
+The copying of the original distribution file is allowed only under the
+following circumstances:
+ -For the purpose of showing other people the product only if all of
+ the original files are included in
+ -PCPS must not be included in any other product for any reason unless
+ licensed by MicroSource.
+ -No charge or payment must be levied or accepted for PCPS.
+PCPS may be used by you (the user) for a trial period of 30 days. If
+you find the utility useful and wish to continue using it, you should
+send the registration cost to the author as detailed below. Otherwise,
+you (the user) should delete all copies of the PCPS files from your
+machine.
+
+NetBSD package by John Refling <refling@comet.lbl.gov>
diff --git a/print/pcps/pkg/MESSAGE b/print/pcps/pkg/MESSAGE
new file mode 100644
index 00000000000..e422539a613
--- /dev/null
+++ b/print/pcps/pkg/MESSAGE
@@ -0,0 +1,12 @@
+$NetBSD: MESSAGE,v 1.1.1.1 2000/11/23 13:47:00 rh Exp $
+
+---------------------------------------------------------
+ The configuration f\ile is set for US 8.5x11 inch paper
+and some other options you may wish to customize.
+
+ PCPS is Copyright (c) 1992-2000 by MicroSource.
+
+ PCPS IS NOT FREE, this version is SHAREWARE.
+
+ See @@PREFIX@@/share/doc/pcps/license.doc for details.
+---------------------------------------------------------
diff --git a/print/pcps/pkg/PLIST b/print/pcps/pkg/PLIST
new file mode 100644
index 00000000000..c604817e457
--- /dev/null
+++ b/print/pcps/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/23 13:47:00 rh Exp $
+bin/pcps
+man/man1/pcps.1
+share/doc/pcps/pcps.man
+share/doc/pcps/license.doc
+share/doc/pcps/register.doc
+@dirrm share/doc/pcps
+@unexec rm -f %D/bin/pcps.cfg