aboutsummaryrefslogtreecommitdiff
path: root/print/mgv
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-03-28 15:06:34 +0000
committerSteve Price <steve@FreeBSD.org>1998-03-28 15:06:34 +0000
commit7d93c4a8f5e1249cf09008acfcc6f369bd1708d1 (patch)
treee6dc70786dbe3859d503302a86e373ccf34bb735 /print/mgv
parentecdbf5b5cc1637ef8969259086598d3011740f65 (diff)
downloadports-7d93c4a8f5e1249cf09008acfcc6f369bd1708d1.tar.gz
ports-7d93c4a8f5e1249cf09008acfcc6f369bd1708d1.zip
Notes
Diffstat (limited to 'print/mgv')
-rw-r--r--print/mgv/Makefile29
-rw-r--r--print/mgv/distinfo1
-rw-r--r--print/mgv/files/patch-aa33
-rw-r--r--print/mgv/pkg-comment1
-rw-r--r--print/mgv/pkg-descr5
-rw-r--r--print/mgv/pkg-install9
-rw-r--r--print/mgv/pkg-plist48
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