diff options
author | steve <steve@FreeBSD.org> | 1998-03-28 23:06:34 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-03-28 23:06:34 +0800 |
commit | 35d8637778ca4f8b2cb004ca3d53430e50733731 (patch) | |
tree | 0793c78eecd1d707390850d5e68dcf6ad0f0dcc8 /print/mgv | |
parent | 43df22ffba3a4ec341259ffe2625023c98396523 (diff) | |
download | freebsd-ports-gnome-35d8637778ca4f8b2cb004ca3d53430e50733731.tar.gz freebsd-ports-gnome-35d8637778ca4f8b2cb004ca3d53430e50733731.tar.zst freebsd-ports-gnome-35d8637778ca4f8b2cb004ca3d53430e50733731.zip |
Initial import of mgv-2.3.1.
A PostScript and PDF previewer that uses the Motif widget set.
PR: 5915
Submitted by: Brian Handy <handy@physics.montana.edu>
Diffstat (limited to 'print/mgv')
-rw-r--r-- | print/mgv/Makefile | 29 | ||||
-rw-r--r-- | print/mgv/distinfo | 1 | ||||
-rw-r--r-- | print/mgv/files/patch-aa | 33 | ||||
-rw-r--r-- | print/mgv/pkg-comment | 1 | ||||
-rw-r--r-- | print/mgv/pkg-descr | 5 | ||||
-rw-r--r-- | print/mgv/pkg-install | 9 | ||||
-rw-r--r-- | print/mgv/pkg-plist | 48 |
7 files changed, 126 insertions, 0 deletions
diff --git a/print/mgv/Makefile b/print/mgv/Makefile new file mode 100644 index 000000000000..2cf4b7da9f3a --- /dev/null +++ b/print/mgv/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: mgv +# Version required: mgv-2.3.1 +# Date created: 4 Mar 1998 +# Whom: handy@physics.montana.edu +# +# $Id$ +# + +DISTNAME= mgv-2.3.1 +CATEGORIES= print +MASTER_SITES= http://home.echo-on.net/~mu/srcs/ + +MAINTAINER= ports@freebsd.org + +LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm + +USE_GMAKE= yes +USE_X11= yes +REQUIRES_MOTIF= yes +MAKEFILE= GNUmakefile +MAN1= mgv.1 + +pre-build: + @ ${CP} -f ${WRKSRC}/make/sys.freebsd3.mk ${WRKSRC}/make/sys.mk + +post-install: + @ ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL + +.include <bsd.port.mk> diff --git a/print/mgv/distinfo b/print/mgv/distinfo new file mode 100644 index 000000000000..4cee0e54f833 --- /dev/null +++ b/print/mgv/distinfo @@ -0,0 +1 @@ +MD5 (mgv-2.3.1.tar.gz) = 5bc71d4d53afe6e3f503d98584789257 diff --git a/print/mgv/files/patch-aa b/print/mgv/files/patch-aa new file mode 100644 index 000000000000..5952d44b4c8f --- /dev/null +++ b/print/mgv/files/patch-aa @@ -0,0 +1,33 @@ +--- make/sys.freebsd3.mk.orig Tue Feb 17 22:31:33 1998 ++++ make/sys.freebsd3.mk Tue Mar 3 21:11:17 1998 +@@ -32,12 +32,12 @@ + mk-libhelp = no + + cc = gcc +-perl = /usr/local/bin/perl ++perl = /usr/bin/perl + warn = -ansi -pedantic -Wall -Werror -Wmissing-prototypes + defs = -D$(sys) + opt = -O2 +-incl = -I. -I/usr/local/include -I/usr/X11/include +-ldflags = -s -L/usr/local/lib -L/usr/X11/lib $(opt) ++incl = -I. -I/usr/local/include -I/usr/X11R6/include ++ldflags = -s -L/usr/local/lib -L/usr/X11R6/lib $(opt) + xlibs = -lXm -lXpm -lXmu -lXt -lXext -lX11 -lm -lcompat + hlibs = -lhlpclient + ar = ar +@@ -50,11 +50,11 @@ + + mkdir = mkdirhier + install = install -c +-bindir = /usr/local/bin ++bindir = ${PREFIX}/bin + binflags = -o root -g bin -m 755 +-mandir = /usr/local/man/man1 ++mandir = ${PREFIX}/man/man1 + manflags = -o root -g bin -m 644 +-docdir = /usr/local/lib/$(projname) ++docdir = ${PREFIX}/share/$(projname) + docflags = $(manflags) + addir = $(docdir) + adflags = $(docflags) diff --git a/print/mgv/pkg-comment b/print/mgv/pkg-comment new file mode 100644 index 000000000000..e53849ad6252 --- /dev/null +++ b/print/mgv/pkg-comment @@ -0,0 +1 @@ +A PostScript and PDF previewer. diff --git a/print/mgv/pkg-descr b/print/mgv/pkg-descr new file mode 100644 index 000000000000..ccb95562521a --- /dev/null +++ b/print/mgv/pkg-descr @@ -0,0 +1,5 @@ +Mgv is a Motif-based PostScript and PDF previewer based on Tim +Theisen's ghostview-1.5. Mgv uses the Motif widget set, but the +author claims full Lesstif-compliance. + +Visit the home page at http://home.echo-on.net/~mu/X.html#mgv diff --git a/print/mgv/pkg-install b/print/mgv/pkg-install new file mode 100644 index 000000000000..2d7c72fb0528 --- /dev/null +++ b/print/mgv/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/mgv/pkg-plist b/print/mgv/pkg-plist new file mode 100644 index 000000000000..9899d076eb09 --- /dev/null +++ b/print/mgv/pkg-plist @@ -0,0 +1,48 @@ +bin/mgv +man/man1/mgv.1.gz +share/mgv/MGv +share/mgv/mgv.txt +share/mgv/mgv-1.html +share/mgv/mgv-10.html +share/mgv/mgv-11.html +share/mgv/mgv-12.html +share/mgv/mgv-13.html +share/mgv/mgv-14.html +share/mgv/mgv-15.html +share/mgv/mgv-16.html +share/mgv/mgv-17.html +share/mgv/mgv-18.html +share/mgv/mgv-19.html +share/mgv/mgv-2.html +share/mgv/mgv-20.html +share/mgv/mgv-21.html +share/mgv/mgv-22.html +share/mgv/mgv-23.html +share/mgv/mgv-24.html +share/mgv/mgv-25.html +share/mgv/mgv-26.html +share/mgv/mgv-27.html +share/mgv/mgv-3.html +share/mgv/mgv-4.html +share/mgv/mgv-5.html +share/mgv/mgv-6.html +share/mgv/mgv-7.html +share/mgv/mgv-8.html +share/mgv/mgv-9.html +share/mgv/mgv.html +share/mgv/mgv.sgml +share/mgv/about.gif +share/mgv/bldopts.gif +share/mgv/file-open.gif +share/mgv/file-save.gif +share/mgv/gslog.gif +share/mgv/magstep-statusline.gif +share/mgv/magstep.gif +share/mgv/mainwindow.gif +share/mgv/next.gif +share/mgv/prev.gif +share/mgv/print.gif +share/mgv/toc.gif +share/mgv/zoom.gif +share/mgv/COPYING-2.0 +@dirrm share/mgv |