Add gv 3.5.8 port.

This commit is contained in:
angelos 1997-12-03 05:59:58 +00:00
parent d288738962
commit bdde903e8c
10 changed files with 1349 additions and 0 deletions

25
print/gv/Makefile Normal file
View File

@ -0,0 +1,25 @@
# OpenBSD makefile for: gv
# Version required: gv-3.5.8
# Date created: December 2, 1997
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1997/12/03 05:59:58 angelos Exp $
#
DISTNAME= gv-3.5.8
CATEGORIES= print
MASTER_SITES= ftp://thep.physik.uni-mainz.de/pub/gv/unix/
MAINTAINER= angelos@openbsd.org
LIB_DEPENDS= Xaw3d\\.6\\.:${PORTSDIR}/x11/Xaw3d
USE_IMAKE= yes
post-install:
.if !defined(NOPORTDOCS)
@(cd ${WRKSRC}; ${MAKE} install.doc)
.endif
@${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>

1
print/gv/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (gv-3.5.8.tar.gz) = 8f2f0bd97395d6cea52926ddee736da8

17
print/gv/patches/patch-aa Normal file
View File

@ -0,0 +1,17 @@
--- config.Unix.orig Fri Jun 6 15:00:00 1997
+++ config.Unix Mon Jun 9 14:45:19 1997
@@ -32,10 +32,10 @@
XCOMM --------------------------------------------------------------------
XCOMM Destination directories.
XCOMM --------------------------------------------------------------------
- GV_BINDIR = /usr/local/bin/
- GV_DOCDIR = /usr/local/doc/gv/
- GV_LIBDIR = /usr/local/lib/gv/
- GV_MANDIR = /usr/local/man/man1/
+ GV_BINDIR = $(BINDIR)
+ GV_DOCDIR = /usr/X11R6/share/doc/gv/
+ GV_LIBDIR = $(LIBDIR)/gv/
+ GV_MANDIR = $(MANDIR)
XCOMM --------------------------------------------------------------------
XCOMM --- The name of the Xaw3d library.

11
print/gv/patches/patch-ab Normal file
View File

@ -0,0 +1,11 @@
--- doc/Imakefile.orig Fri Jun 6 15:00:00 1997
+++ doc/Imakefile Mon Jun 9 14:36:59 1997
@@ -27,7 +27,7 @@
GV_CONFIG_FILE = ../config.Unix
#include "../config.Unix"
-MANDIR=$(GV_MANDIR)
+XCOMM MANDIR=$(GV_MANDIR)
ComplexProgramTarget(gv)

36
print/gv/patches/patch-ac Normal file
View File

@ -0,0 +1,36 @@
*** source/setenv.c.orig Wed Dec 3 00:00:40 1997
--- source/setenv.c Wed Dec 3 00:00:59 1997
***************
*** 39,45 ****
*/
int
setenv(name, value, rewrite)
! register char *name, *value;
int rewrite;
{
extern char **environ;
--- 39,45 ----
*/
int
setenv(name, value, rewrite)
! register const char *name, *value;
int rewrite;
{
extern char **environ;
***************
*** 97,103 ****
*/
void
unsetenv(name)
! char *name;
{
extern char **environ;
register char **P;
--- 97,103 ----
*/
void
unsetenv(name)
! const char *name;
{
extern char **environ;
register char **P;

1219
print/gv/patches/patch-ad Normal file

File diff suppressed because it is too large Load Diff

1
print/gv/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
A PostScript and PDF previewer.

3
print/gv/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
gv is an X11 PostScript and PDF previewer based on Tim Theisen's
ghostview-1.5. It uses the Xaw3d widget set, thus providing a much
nicer look and it's said to be a bit faster.

9
print/gv/pkg/INSTALL Normal file
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

27
print/gv/pkg/PLIST Normal file
View File

@ -0,0 +1,27 @@
bin/gv
lib/X11/app-defaults/GV
lib/X11/gv/gv_class.ad
lib/X11/gv/gv_system.ad
lib/X11/gv/gv_user.ad
share/doc/gv/comments.doc.gz
share/doc/gv/gs.interface.gz
share/doc/gv/gv-1.html
share/doc/gv/gv-10.html
share/doc/gv/gv-11.html
share/doc/gv/gv-12.html
share/doc/gv/gv-13.html
share/doc/gv/gv-2.html
share/doc/gv/gv-3.html
share/doc/gv/gv-4.html
share/doc/gv/gv-5.html
share/doc/gv/gv-6.html
share/doc/gv/gv-7.html
share/doc/gv/gv-8.html
share/doc/gv/gv-9.html
share/doc/gv/gv-faq.html
share/doc/gv/gv-faq.txt.gz
share/doc/gv/gv.html
share/doc/gv/gv.ps.gz
share/doc/gv/key-bindings.txt.gz
@dirrm lib/X11/gv
@dirrm share/doc/gv