diff options
Diffstat (limited to 'print/mgv')
-rw-r--r-- | print/mgv/Makefile | 23 | ||||
-rw-r--r-- | print/mgv/files/md5 | 3 | ||||
-rw-r--r-- | print/mgv/files/patch-sum | 6 | ||||
-rw-r--r-- | print/mgv/patches/patch-aa | 12 | ||||
-rw-r--r-- | print/mgv/patches/patch-ab | 13 | ||||
-rw-r--r-- | print/mgv/patches/patch-ac | 31 | ||||
-rw-r--r-- | print/mgv/patches/patch-ad | 13 | ||||
-rw-r--r-- | print/mgv/pkg/DESCR | 3 | ||||
-rw-r--r-- | print/mgv/pkg/PLIST | 93 |
9 files changed, 197 insertions, 0 deletions
diff --git a/print/mgv/Makefile b/print/mgv/Makefile new file mode 100644 index 00000000000..fe1bc87e108 --- /dev/null +++ b/print/mgv/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/04/14 00:51:16 jtb Exp $ + +DISTNAME= mgv-3.1.5 +CATEGORIES= print +MASTER_SITES= http://www.trends.net/~mu/srcs/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.trends.net/~mu/mgv.html +COMMENT= Motif/LessTif user interface for Ghostscript + +GNU_CONFIGURE= yes +USE_X11= yes +USE_MOTIF= yes +USE_XPM= yes + +CONFIGURE_ARGS+= --with-motif-includes=${MOTIFBASE}/include +CONFIGURE_ARGS+= --with-motif-libs=${MOTIFBASE}/lib + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html + ${LN} -fs ${PREFIX}/share/mgv/3.1.5/help ${PREFIX}/share/doc/html/mgv + +.include "../../mk/bsd.pkg.mk" diff --git a/print/mgv/files/md5 b/print/mgv/files/md5 new file mode 100644 index 00000000000..9ddcb2adf96 --- /dev/null +++ b/print/mgv/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/04/14 00:51:16 jtb Exp $ + +SHA1 (mgv-3.1.5.tar.gz) = 5500221347dabed04effea78b4ca5bf7c8ecc35a diff --git a/print/mgv/files/patch-sum b/print/mgv/files/patch-sum new file mode 100644 index 00000000000..8544e70fd9d --- /dev/null +++ b/print/mgv/files/patch-sum @@ -0,0 +1,6 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/04/14 00:51:16 jtb Exp $ + +SHA1 (patch-aa) = ecbc6b70f8ae07013a23b4db2decfe9e23204539 +SHA1 (patch-ab) = 430fcefb48fbb1f432af4c32f4703787a27a48df +SHA1 (patch-ac) = edd2d6a0443dff4a5c225d0242ef16e73a32d243 +SHA1 (patch-ad) = e067c1be2c4b0885f29a5230643e84fd08998e38 diff --git a/print/mgv/patches/patch-aa b/print/mgv/patches/patch-aa new file mode 100644 index 00000000000..3143b1d6378 --- /dev/null +++ b/print/mgv/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/04/14 00:51:17 jtb Exp $ + +--- wlib/about.c.orig Tue Sep 1 20:49:44 1998 ++++ wlib/about.c +@@ -21,6 +21,7 @@ + * Authors: Matthew D. Francey + * Eric A. Howe (mu@trends.net) + */ ++#include <stdio.h> + #include <wlib/rcs.h> + MU_ID("$Mu: wlib/about.c 1.33 1998/09/01 20:49:44 $") + diff --git a/print/mgv/patches/patch-ab b/print/mgv/patches/patch-ab new file mode 100644 index 00000000000..b73c39776ea --- /dev/null +++ b/print/mgv/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/04/14 00:51:17 jtb Exp $ + +--- Makefile.in.orig Mon Sep 28 09:54:02 1998 ++++ Makefile.in +@@ -502,7 +502,7 @@ + _bld.c: $(mgv_OBJECTS) wlib/libwlib.a + tools/mkver '$(VERSION)' '$(COMPILE)' '$(LDFLAGS)' '-lwlib @LIBHELP_LIBS@ @XM_LIBS@ @XT_LIBS@ @XPM_LIBS@ @EDITRES_LIBS@ @X11_LIBS@' '$(bindir)' '$(datadir)' > _bld.c || (rm -f _bld.c; exit 1) + +-all: .been-warned ++all: + .been-warned: + @echo + @echo "**********************************************************" diff --git a/print/mgv/patches/patch-ac b/print/mgv/patches/patch-ac new file mode 100644 index 00000000000..5650dce2cbb --- /dev/null +++ b/print/mgv/patches/patch-ac @@ -0,0 +1,31 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/04/14 00:51:17 jtb Exp $ + +--- configure.orig Fri Apr 13 23:50:10 2001 ++++ configure +@@ -1451,7 +1451,7 @@ + + # It would also be nice to do this for all -L options, not just this one. + if test -n "$x_libraries"; then +- X_LIBS="$X_LIBS -L$x_libraries" ++ X_LIBS="$X_LIBS -R$x_libraries -L$x_libraries" + # For Solaris; some versions of Sun CC require a space after -R and + # others require no space. Words are not sufficient . . . . + case "`(uname -sr) 2>/dev/null`" in +@@ -1986,7 +1986,7 @@ + + # Check for libraries that X11R6 Xt/Xaw programs need. + ac_save_LDFLAGS="$LDFLAGS" +- test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" ++ test -n "$x_libraries" && LDFLAGS="$LDFLAGS -R$x_libraries -L$x_libraries" + # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to + # check for ICE first), but we must link in the order -lSM -lICE or + # we get undefined symbols. So assume we have SM if we have ICE. +@@ -2220,7 +2220,7 @@ + if test "$motif_libraries" != "" && test "$motif_libraries" != "$x_libraries" && test "$motif_libraries" != "no" + then + case "$X_LIBS" in +- *-R\ *) X_LIBS="-L$motif_libraries -R $motif_libraries $X_LIBS";; ++ *-R\ *) X_LIBS="-L$motif_libraries -R$motif_libraries $X_LIBS";; + *-R*) X_LIBS="-L$motif_libraries -R$motif_libraries $X_LIBS";; + *) X_LIBS="-L$motif_libraries $X_LIBS";; + esac diff --git a/print/mgv/patches/patch-ad b/print/mgv/patches/patch-ad new file mode 100644 index 00000000000..12584bc3151 --- /dev/null +++ b/print/mgv/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2001/04/14 00:51:17 jtb Exp $ + +--- doc/Makefile.in.orig Mon Sep 28 09:54:02 1998 ++++ doc/Makefile.in +@@ -89,7 +89,7 @@ + mgv-26.html mgv-27.html mgv-28.html mgv-29.html mgv-30.html + + helpdir = $(pkgdatadir)/$(VERSION)/help +-help_DATA = mgv.html $(mu_htmlchunks) *.gif ++help_DATA = mgv.html $(mu_htmlchunks) + + SUFFIXES = .gif .sgml-in .sgml .ps .eps + mkinstalldirs = $(SHELL) $(top_srcdir)/tools/mkinstalldirs diff --git a/print/mgv/pkg/DESCR b/print/mgv/pkg/DESCR new file mode 100644 index 00000000000..bad07e60294 --- /dev/null +++ b/print/mgv/pkg/DESCR @@ -0,0 +1,3 @@ +mgv is a Motif/LessTif based viewer for PostScript files which uses +Ghostscript as the underlying PostScript rendering engine. Limited +PDF support is also supplied. diff --git a/print/mgv/pkg/PLIST b/print/mgv/pkg/PLIST new file mode 100644 index 00000000000..ccf472632fb --- /dev/null +++ b/print/mgv/pkg/PLIST @@ -0,0 +1,93 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/14 00:51:17 jtb Exp $ +bin/mgv +man/man1/mgv.1 +share/doc/html/mgv +share/mgv/3.1.5/MGv +share/mgv/3.1.5/help/mgv-1.html +share/mgv/3.1.5/help/mgv-10.html +share/mgv/3.1.5/help/mgv-11.html +share/mgv/3.1.5/help/mgv-12.html +share/mgv/3.1.5/help/mgv-13.html +share/mgv/3.1.5/help/mgv-14.html +share/mgv/3.1.5/help/mgv-15.html +share/mgv/3.1.5/help/mgv-16.html +share/mgv/3.1.5/help/mgv-17.html +share/mgv/3.1.5/help/mgv-18.html +share/mgv/3.1.5/help/mgv-19.html +share/mgv/3.1.5/help/mgv-2.html +share/mgv/3.1.5/help/mgv-20.html +share/mgv/3.1.5/help/mgv-21.html +share/mgv/3.1.5/help/mgv-22.html +share/mgv/3.1.5/help/mgv-23.html +share/mgv/3.1.5/help/mgv-24.html +share/mgv/3.1.5/help/mgv-25.html +share/mgv/3.1.5/help/mgv-26.html +share/mgv/3.1.5/help/mgv-27.html +share/mgv/3.1.5/help/mgv-28.html +share/mgv/3.1.5/help/mgv-29.html +share/mgv/3.1.5/help/mgv-3.html +share/mgv/3.1.5/help/mgv-30.html +share/mgv/3.1.5/help/mgv-4.html +share/mgv/3.1.5/help/mgv-5.html +share/mgv/3.1.5/help/mgv-6.html +share/mgv/3.1.5/help/mgv-7.html +share/mgv/3.1.5/help/mgv-8.html +share/mgv/3.1.5/help/mgv-9.html +share/mgv/3.1.5/help/mgv.html +share/mgv/3.1.5/icon.xbm +share/mgv/3.1.5/icon.xpm +share/mgv/3.1.5/mask.xbm +share/mgv/3.1.5/splash.xbm +share/mgv/3.1.5/splash.xpm +share/mgv/3.1.5/toolbar/fileOpen-i.xbm +share/mgv/3.1.5/toolbar/fileOpen-i.xpm +share/mgv/3.1.5/toolbar/fileOpen.xbm +share/mgv/3.1.5/toolbar/fileOpen.xpm +share/mgv/3.1.5/toolbar/filePrint-i.xbm +share/mgv/3.1.5/toolbar/filePrint-i.xpm +share/mgv/3.1.5/toolbar/filePrint.xbm +share/mgv/3.1.5/toolbar/filePrint.xpm +share/mgv/3.1.5/toolbar/helpContext-i.xbm +share/mgv/3.1.5/toolbar/helpContext-i.xpm +share/mgv/3.1.5/toolbar/helpContext.xbm +share/mgv/3.1.5/toolbar/helpContext.xpm +share/mgv/3.1.5/toolbar/magstepDecr-i.xbm +share/mgv/3.1.5/toolbar/magstepDecr-i.xpm +share/mgv/3.1.5/toolbar/magstepDecr.xbm +share/mgv/3.1.5/toolbar/magstepDecr.xpm +share/mgv/3.1.5/toolbar/magstepIncr-i.xbm +share/mgv/3.1.5/toolbar/magstepIncr-i.xpm +share/mgv/3.1.5/toolbar/magstepIncr.xbm +share/mgv/3.1.5/toolbar/magstepIncr.xpm +share/mgv/3.1.5/toolbar/mark-i.xbm +share/mgv/3.1.5/toolbar/mark-i.xpm +share/mgv/3.1.5/toolbar/mark.xbm +share/mgv/3.1.5/toolbar/mark.xpm +share/mgv/3.1.5/toolbar/markAll-i.xbm +share/mgv/3.1.5/toolbar/markAll-i.xpm +share/mgv/3.1.5/toolbar/markAll.xbm +share/mgv/3.1.5/toolbar/markAll.xpm +share/mgv/3.1.5/toolbar/markEven-i.xbm +share/mgv/3.1.5/toolbar/markEven-i.xpm +share/mgv/3.1.5/toolbar/markEven.xbm +share/mgv/3.1.5/toolbar/markEven.xpm +share/mgv/3.1.5/toolbar/markNone-i.xbm +share/mgv/3.1.5/toolbar/markNone-i.xpm +share/mgv/3.1.5/toolbar/markNone.xbm +share/mgv/3.1.5/toolbar/markNone.xpm +share/mgv/3.1.5/toolbar/markOdd-i.xbm +share/mgv/3.1.5/toolbar/markOdd-i.xpm +share/mgv/3.1.5/toolbar/markOdd.xbm +share/mgv/3.1.5/toolbar/markOdd.xpm +share/mgv/3.1.5/toolbar/pageNext-i.xbm +share/mgv/3.1.5/toolbar/pageNext-i.xpm +share/mgv/3.1.5/toolbar/pageNext.xbm +share/mgv/3.1.5/toolbar/pageNext.xpm +share/mgv/3.1.5/toolbar/pagePrev-i.xbm +share/mgv/3.1.5/toolbar/pagePrev-i.xpm +share/mgv/3.1.5/toolbar/pagePrev.xbm +share/mgv/3.1.5/toolbar/pagePrev.xpm +@dirrm share/mgv/3.1.5/help +@dirrm share/mgv/3.1.5/toolbar +@dirrm share/mgv/3.1.5 +@dirrm share/mgv |