Add ghostview 1.5 port.

This commit is contained in:
angelos 1997-12-03 04:32:18 +00:00
parent 792c1a3e68
commit 3be3e9af7e
8 changed files with 86 additions and 0 deletions

20
print/ghostview/Makefile Normal file
View File

@ -0,0 +1,20 @@
# OpenBSD makefile for: ghostview
# Version required: 1.5
# Date created: December 2, 1997
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1997/12/03 04:32:18 angelos Exp $
#
DISTNAME= ghostview-1.5
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU}
MAINTAINER= angelos@openbsd.org
USE_IMAKE= yes
post-install:
@${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (ghostview-1.5.tar.gz) = 4f5c1bced73fe14b03109cfa7aacfd90

View File

@ -0,0 +1,12 @@
*** misc.c.orig Fri Oct 21 22:36:09 1994
--- misc.c Fri Oct 21 22:36:20 1994
***************
*** 61,67 ****
#include <perror.h>
#else
extern int sys_nerr;
- extern char *sys_errlist[];
#endif
#include "Ghostview.h"
--- 61,66 ----

View File

@ -0,0 +1,12 @@
*** SelFile.c.orig Fri Oct 21 22:37:11 1994
--- SelFile.c Fri Oct 21 22:37:17 1994
***************
*** 46,52 ****
/* BSD 4.3 errno.h does not declare errno */
extern int errno;
extern int sys_nerr;
- extern char *sys_errlist[];
#include <sys/param.h>
#include <X11/cursorfont.h>
--- 46,51 ----

View File

@ -0,0 +1 @@
An X11 front-end for ghostscript, the GNU postscript previewer.

28
print/ghostview/pkg/DESCR Normal file
View File

@ -0,0 +1,28 @@
Ghostview -- An X11 user interface for ghostscript.
Ghostview is full function user interface for ghostscript 2.4 and later.
Brief list of features:
- Ghostview parses any known version of Adobe's Document Structuring
Conventions.
- Page size is automatically determined from the Document Structuring
Comments. The user is able to override the values from the comments.
- Window size is set to the bounding box for Encapsulated PostScript figures.
- Default page size is Letter and can be changed via Xresources or
application defaults file to A4 (or any other valid size) for our
European friends.
- Scrollbars appear when necessary.
- Page orientation is automatically determined from the Document Structuring
Comments. The user is able to override the values from the comments.
- Ability to view at 4 orientations: Portrait, Landscape, Upside-down,
and Seascape (for those who rotate landscape the other direction).
- Ability to restrict rendering to grayscale or monochrome. (Requires
ghostscript 2.6.1.)
- Ability to mark pages for printing, or saving. (Good for people that
printed a 100 page document and lost page 59 due to a printer jam.)
- Can popup zoom windows at printer resolution
(1 display dot = 1 printer dot).
The Ghostview distribution includes a Ghostview Widget that people
are encouraged to use in other programs.

View File

@ -0,0 +1,9 @@
#!/bin/sh
if [ "$2" != "POST-INSTALL" ]; then
exit 0
fi
if ! which gs >/dev/null; then
echo "I can't find ghostscript (gs) in your search path."
echo "Please install your favorite version of ghostscript,"
echo "otherwise this program is useless."
fi

View File

@ -0,0 +1,3 @@
bin/ghostview
lib/X11/app-defaults/Ghostview
man/man1/ghostview.1