diff options
author | hubertf <hubertf@pkgsrc.org> | 1997-12-29 02:38:27 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1997-12-29 02:38:27 +0000 |
commit | 4bab62d9faf442cba33c4ef3bc17d7fe89b000d6 (patch) | |
tree | 9cd978922a9fa694f379a6fc06f392f548fcac5c | |
parent | 2145d7b52f759ff1846d88166b75eccc960be1f5 (diff) | |
download | pkgsrc-4bab62d9faf442cba33c4ef3bc17d7fe89b000d6.tar.gz |
PostScript and PDF previewer.
Taken from FreeBSD.
-rw-r--r-- | print/gv/Makefile | 25 | ||||
-rw-r--r-- | print/gv/files/md5 | 1 | ||||
-rw-r--r-- | print/gv/patches/patch-aa | 17 | ||||
-rw-r--r-- | print/gv/patches/patch-ab | 11 | ||||
-rw-r--r-- | print/gv/pkg/COMMENT | 1 | ||||
-rw-r--r-- | print/gv/pkg/DESCR | 3 | ||||
-rw-r--r-- | print/gv/pkg/INSTALL | 9 | ||||
-rw-r--r-- | print/gv/pkg/PLIST | 28 |
8 files changed, 95 insertions, 0 deletions
diff --git a/print/gv/Makefile b/print/gv/Makefile new file mode 100644 index 00000000000..2a3ee9402c3 --- /dev/null +++ b/print/gv/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: gv +# Version required: gv-3.5.8 +# Date created: 16 Apr 1996 +# Whom: tg@freebsd.org +# +# $Id: Makefile,v 1.1.1.1 1997/12/29 02:38:27 hubertf Exp $ +# + +DISTNAME= gv-3.5.8 +CATEGORIES= print +MASTER_SITES= ftp://thep.physik.uni-mainz.de/pub/gv/unix/ + +MAINTAINER= ports@freebsd.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> diff --git a/print/gv/files/md5 b/print/gv/files/md5 new file mode 100644 index 00000000000..1504e0a7a06 --- /dev/null +++ b/print/gv/files/md5 @@ -0,0 +1 @@ +MD5 (gv-3.5.8.tar.gz) = 8f2f0bd97395d6cea52926ddee736da8 diff --git a/print/gv/patches/patch-aa b/print/gv/patches/patch-aa new file mode 100644 index 00000000000..25d32adbd78 --- /dev/null +++ b/print/gv/patches/patch-aa @@ -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. diff --git a/print/gv/patches/patch-ab b/print/gv/patches/patch-ab new file mode 100644 index 00000000000..94ed6122e49 --- /dev/null +++ b/print/gv/patches/patch-ab @@ -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) + diff --git a/print/gv/pkg/COMMENT b/print/gv/pkg/COMMENT new file mode 100644 index 00000000000..e53849ad625 --- /dev/null +++ b/print/gv/pkg/COMMENT @@ -0,0 +1 @@ +A PostScript and PDF previewer. diff --git a/print/gv/pkg/DESCR b/print/gv/pkg/DESCR new file mode 100644 index 00000000000..8789f1f4781 --- /dev/null +++ b/print/gv/pkg/DESCR @@ -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. diff --git a/print/gv/pkg/INSTALL b/print/gv/pkg/INSTALL new file mode 100644 index 00000000000..2d7c72fb052 --- /dev/null +++ b/print/gv/pkg/INSTALL @@ -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 diff --git a/print/gv/pkg/PLIST b/print/gv/pkg/PLIST new file mode 100644 index 00000000000..64826bb8ac5 --- /dev/null +++ b/print/gv/pkg/PLIST @@ -0,0 +1,28 @@ +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 +man/man1/gv.1.gz +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 |