diff options
author | Steve Price <steve@FreeBSD.org> | 1999-12-29 07:26:56 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-12-29 07:26:56 +0000 |
commit | dc183c6400a1bfcba6f82bbde21eb92607ac96df (patch) | |
tree | 433bdd9a4b158f8fabbb0b82a4f9b47cf22d2a29 /print | |
parent | 85bb545d793534dc11b79f6c1612cb7eddb07251 (diff) | |
download | ports-dc183c6400a1bfcba6f82bbde21eb92607ac96df.tar.gz ports-dc183c6400a1bfcba6f82bbde21eb92607ac96df.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/pstotext/Makefile | 22 | ||||
-rw-r--r-- | print/pstotext/distinfo | 1 | ||||
-rw-r--r-- | print/pstotext/files/patch-aa | 10 | ||||
-rw-r--r-- | print/pstotext/pkg-comment | 1 | ||||
-rw-r--r-- | print/pstotext/pkg-descr | 39 | ||||
-rw-r--r-- | print/pstotext/pkg-plist | 1 |
7 files changed, 75 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index e53963981482..5cf98a9d14fa 100644 --- a/print/Makefile +++ b/print/Makefile @@ -72,6 +72,7 @@ SUBDIR += pkfonts360 SUBDIR += pkfonts400 SUBDIR += pkfonts600 + SUBDIR += pstotext SUBDIR += psutils-a4 SUBDIR += psutils-letter SUBDIR += rlpr diff --git a/print/pstotext/Makefile b/print/pstotext/Makefile new file mode 100644 index 000000000000..1f1d06a22ea7 --- /dev/null +++ b/print/pstotext/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: pstotext +# Version required: 2.1 +# Date created: December 6, 1999 +# Whom: Oliver Breuninger <ob@seicom.NET> +# +# $FreeBSD$ +# + +DISTNAME= pstotext +PKGNAME= pstotext-2.1 +CATEGORIES= print +MASTER_SITES= http://www.research.digital.com/SRC/virtualpaper/cgi-bin/nph-download.tcl/pstotext.tar.Z?object=pstotext +EXTRACT_SUFX= .tar.Z + +MAINTAINER= ob@seicom.NET + +RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript55 + +WRKSRC= ${WRKDIR}/src +MAN1= pstotext.1 + +.include <bsd.port.mk> diff --git a/print/pstotext/distinfo b/print/pstotext/distinfo new file mode 100644 index 000000000000..f16a1ecb82f3 --- /dev/null +++ b/print/pstotext/distinfo @@ -0,0 +1 @@ +MD5 (pstotext.tar.Z) = 4329e3e5ee37243703604e05d1db8dcb diff --git a/print/pstotext/files/patch-aa b/print/pstotext/files/patch-aa new file mode 100644 index 000000000000..5ae6d984b972 --- /dev/null +++ b/print/pstotext/files/patch-aa @@ -0,0 +1,10 @@ +--- Makefile.orig Wed Oct 28 17:45:58 1998 ++++ Makefile Mon Dec 6 14:36:17 1999 +@@ -43,2 +43,7 @@ + clean: + rm -f pstotext *.o core $(BUNDLE) ++ ++install: ++ cp -p pstotext /usr/local/bin ++ cp -p pstotext.1 /usr/local/man/man1 ++ diff --git a/print/pstotext/pkg-comment b/print/pstotext/pkg-comment new file mode 100644 index 000000000000..d892091d9ff4 --- /dev/null +++ b/print/pstotext/pkg-comment @@ -0,0 +1 @@ +A PostScript to Text converter diff --git a/print/pstotext/pkg-descr b/print/pstotext/pkg-descr new file mode 100644 index 000000000000..caf558260e62 --- /dev/null +++ b/print/pstotext/pkg-descr @@ -0,0 +1,39 @@ +pstotext reads one or more PostScript or PDF files, and writes to standard +output a representation of the plain text that would be displayed if the +PostScript file were printed. As is described in the DETAILS section below, +this representation is only an approximation. Nevertheless, it is often +useful for information retrieval (e.g., running grep(1) or building a +full-text index) or to recover the text from a PostScript file whose source +you have lost. + +pstotext calls Ghostscript, and requires Aladdin Ghostscript version 3.51 or +newer. Ghostscript must be invokable on the current search path as gs. +Alternatively, you can use the -gs option to specify the command (pathname +and options) to run Ghostscript. For example, on Windows you might use -gs +"c:\gs\gswin32c.exe -Ic:\gs;c:\gs\fonts". + +pstotext reads and processes its command line from left to right, ignoring +the case of options. When it encounters a pathname, it opens the file and +expects to find a PostScript job or PDF document to process. The option - +means to read and process a PostScript job from standard input. If no - or +pathname arguments are encountered, pstotext reads a PostScript job from +standard input. (PDF documents require random access, hence cannot be read +from standard input.) You can use the -output option to specify an output file +(remember to invoke it before the input file); otherwise pstotext writes to +standard output. + +The option -cork is only relevant for PostScript files produced by dvips from +TeX or LaTeX documents; it tells pstotext to use the Cork encoding (known as T1 +in LaTeX) rather than the old TeX text encoding (known as OT1 in LaTeX). +Unfortunately files produced by dvips don't distinguish which font encodings +were used. + +The options -landscape and -landscapeOther should be used for documents that +must be rotated 90 degrees clockwise or counterclockwise, respectively, in +order to be readable. + +The options -debug and -bboxes are mostly of use for the maintainers of +pstotext. -debug shows Ghostscript output and error messages. -bboxes outputs +one word per line with bounding box information. + +WWW: http://www.research.digital.com/SRC/virtualpaper/manpages/pstotext.1.html diff --git a/print/pstotext/pkg-plist b/print/pstotext/pkg-plist new file mode 100644 index 000000000000..bd84fd02c273 --- /dev/null +++ b/print/pstotext/pkg-plist @@ -0,0 +1 @@ +bin/pstotext |