summaryrefslogtreecommitdiff
path: root/print/gsview
diff options
context:
space:
mode:
Diffstat (limited to 'print/gsview')
-rw-r--r--print/gsview/Makefile59
-rw-r--r--print/gsview/distinfo2
-rw-r--r--print/gsview/files/patch-src_gvcver.mak9
-rw-r--r--print/gsview/files/patch-srcunx_unx.mak50
-rw-r--r--print/gsview/files/pkg-message.in11
-rw-r--r--print/gsview/pkg-descr24
6 files changed, 0 insertions, 155 deletions
diff --git a/print/gsview/Makefile b/print/gsview/Makefile
deleted file mode 100644
index a4f4fd73264a..000000000000
--- a/print/gsview/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
-# Created by: bf <bf2006a@yahoo.com>
-# $FreeBSD$
-
-PORTNAME= gsview
-PORTVERSION= 4.9
-PORTREVISION= 7
-CATEGORIES= print
-MASTER_SITES= LOCAL/bf
-
-MAINTAINER= hrs@FreeBSD.org
-COMMENT= GUI to view, search, print, and convert PostScript and PDF documents
-
-DEPRECATED= Uses obsolete glib12
-EXPIRATION_DATE= 2018-12-20
-
-LICENSE= AFPL
-LICENSE_NAME= Aladdin Free Public Licence
-LICENSE_FILE= ${WRKSRC}/LICENCE
-LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
-
-RUN_DEPENDS+= epstool:graphics/epstool \
- pstotext:print/pstotext
-
-USES= cpe ghostscript
-USE_GNOME= gtk12
-MAKE_JOBS_UNSAFE= yes
-PLIST_FILES= bin/gsview \
- bin/gsview-help \
- etc/gsview/printer.ini \
- man/man1/gsview.1.gz
-PORTDOCS= gsview.css cdorder.txt regorder.txt Readme.htm LICENCE \
- gvxct.htm gvxde.htm gvxen.htm gvxes.htm gvxfr.htm gvxgr.htm \
- gvxit.htm gvxnl.htm gvxru.htm gvxse.htm gvxsk.htm
-SUB_FILES= pkg-message
-
-OPTIONS_DEFINE= DOCS
-
-post-patch:
- ${CP} ${WRKSRC}/srcunx/unx.mak ${WRKSRC}/Makefile
- ${REINPLACE_CMD} -e 's;malloc\.h;stdlib\.h;g' \
- ${WRKSRC}/src/doc2html.c ${WRKSRC}/src/doc2ipf.c \
- ${WRKSRC}/src/doc2xml.c
- ${REINPLACE_CMD} -e 's;mozilla;firefox3;g' \
- ${WRKSRC}/srcunx/gvxhelp.txt
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/gsview ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/srcunx/gvxhelp.txt \
- ${STAGEDIR}${PREFIX}/bin/gsview-help
- ${INSTALL_MAN} ${WRKSRC}/srcunx/gsview.1 ${STAGEDIR}${PREFIX}/man/man1
- ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gsview/
- ${INSTALL_DATA} ${WRKSRC}/src/printer.ini \
- ${STAGEDIR}${PREFIX}/etc/gsview/
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} gsview.css cdorder.txt regorder.txt \
- Readme.htm LICENCE ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/bin/*.htm ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/print/gsview/distinfo b/print/gsview/distinfo
deleted file mode 100644
index d60674582f3e..000000000000
--- a/print/gsview/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (gsview-4.9.tar.gz) = 1a717bef2d6372e6182e4df1793c5d222dc5881a5e02e32284dc716e209ea9e5
-SIZE (gsview-4.9.tar.gz) = 892681
diff --git a/print/gsview/files/patch-src_gvcver.mak b/print/gsview/files/patch-src_gvcver.mak
deleted file mode 100644
index 20fa0c3ac827..000000000000
--- a/print/gsview/files/patch-src_gvcver.mak
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/gvcver.mak.orig 2008-07-14 09:44:07.759575900 -0400
-+++ src/gvcver.mak 2008-07-14 09:44:49.641971567 -0400
-@@ -32,5 +32,5 @@
- $(ECHOGSV) -a $(OD)gsvver.h -x 23 "define GSVIEW_VERSION " $(GSVIEW_VERSION)
- $(ECHOGSV) -a $(OD)gsvver.h -x 23 "define GSVIEW_DOT_VERSION " -x 22 $(GSVIEW_DOT_VERSION) -x 22
- $(ECHOGSV) -a $(OD)gsvver.h -x 23 "define GSVIEW_DATE " -x 22 $(GSVIEW_DATE) -x 22
-- $(ECHOGSV) -a $(OD)gsvver.h -x 23 "define GSVIEW_DOCPATH " -x 22 $(GSVIEW_DOCPATH) "/gsview-" $(GSVIEW_DOT_VERSION) "/" -x 22
-+ $(ECHOGSV) -a $(OD)gsvver.h -x 23 "define GSVIEW_DOCPATH " -x 22 $(GSVIEW_DOCPATH) "/gsview/" -x 22
- $(ECHOGSV) -a $(OD)gsvver.h -x 23 "define GSVIEW_ETCPATH " -x 22 $(GSVIEW_ETCPATH) "/gsview/" -x 22
diff --git a/print/gsview/files/patch-srcunx_unx.mak b/print/gsview/files/patch-srcunx_unx.mak
deleted file mode 100644
index bf7ac83f7678..000000000000
--- a/print/gsview/files/patch-srcunx_unx.mak
+++ /dev/null
@@ -1,50 +0,0 @@
---- srcunx/unx.mak.orig 2004-11-27 05:51:26 UTC
-+++ srcunx/unx.mak
-@@ -19,8 +19,8 @@
- #
- # WARNING: Doesn't install pstotext
-
--prefix=
--GSVIEW_ROOT=/usr/local
-+prefix=${PREFIX}
-+GSVIEW_ROOT=
- GSVIEW_BASE=$(prefix)$(GSVIEW_ROOT)
-
-
-@@ -38,8 +38,6 @@ GSVIEW_DOCPATH=$(GSVIEW_BASE)/share/doc
- # GSview printer.ini and system wide gsview.ini
- GSVIEW_ETCPATH=$(prefix)/etc
-
--MAKE=make
--CC=gcc
- OBJ=o
- INSTALL=install -m 644
- INSTALL_EXE=install -m 755
-@@ -51,7 +49,7 @@ LDEBUG=
- # Linux
- XINCLUDE=
- PFLAGS=-DMULTITHREAD
--PLINK=-lpthread -lrt
-+PLINK=-lpthread
-
- # SunOS 5.7
- #XINCLUDE=-I/usr/openwin/share/lib
-@@ -77,7 +75,8 @@ PLINK=-lpthread -lrt
-
- # Other possible options are -Wtraditional
- # Compiler flags for C and C++ files.
--CFLAGS=-O -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -Wcast-qual -Wwrite-strings $(CDEBUG) -DX11 -DUNIX -DNONAG $(RPM_OPT_FLAGS) `gtk-config --cflags` $(XINCLUDE) $(PFLAGS)
-+#CFLAGS=-O -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -Wcast-qual -Wwrite-strings $(CDEBUG) -DX11 -DUNIX -DNONAG $(RPM_OPT_FLAGS) `gtk-config --cflags` $(XINCLUDE) $(PFLAGS)
-+CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -Wcast-qual -Wwrite-strings $(CDEBUG) -DX11 -DUNIX -DNONAG `gtk-config --cflags` $(XINCLUDE) $(PFLAGS)
-
- # Linker flags
- LFLAGS=$(LDEBUG) $(PLINK) `gtk-config --libs`
-@@ -152,7 +151,7 @@ OBJS=$(OBJCOM1) $(OBJCOM2) $(OBJPLAT1)
- #all: gsview html pstotext
- all: $(BD)gsview$(EXE) html
-
--GSVIEW_DOCDIR=$(GSVIEW_DOCPATH)/gsview-$(GSVIEW_DOT_VERSION)
-+GSVIEW_DOCDIR=$(GSVIEW_DOCPATH)/gsview
-
- $(BD)gsview$(EXE): $(OBJS)
- $(COMP) $(CFLAGS) $(FO)$(BD)gsview$(EXE) $(OBJS) $(LFLAGS)
diff --git a/print/gsview/files/pkg-message.in b/print/gsview/files/pkg-message.in
deleted file mode 100644
index c09d9b11e921..000000000000
--- a/print/gsview/files/pkg-message.in
+++ /dev/null
@@ -1,11 +0,0 @@
-
-=========================================================
-For html help access, edit %%PREFIX%%/bin/gsview-help
-to start your browser of choice with appropriate options.
-Some configuration of Ghostscript options may be
-necessary through the Options->Advanced Configure...
-menu. Consider installing graphics/pstoedit to take
-full advantage of the Edit->Convert to vector format...
-feature. (This feature, while useful, occasionally causes
-coredumps.)
-=========================================================
diff --git a/print/gsview/pkg-descr b/print/gsview/pkg-descr
deleted file mode 100644
index b4a0cb2fd96b..000000000000
--- a/print/gsview/pkg-descr
+++ /dev/null
@@ -1,24 +0,0 @@
-GSview is a graphical interface for Ghostscript. (Ghostscript is an
-interpreter for the PostScript page description language used by
-laser printers.) For documents following the Adobe PostScript Document
-Structuring Conventions, GSview allows selected pages to be viewed or
-printed. Features include:
-* Display and print PostScript and PDF files.
-* View pages in arbitrary order (Next, Previous, Goto).
-* Page size and Orientation are automatically selected from DSC
- comments or can be selected using the menu.
-* Print selected pages using Ghostscript.
-* Convert pages to bitmap, PDF or PostScript.
-* Selectable display resolution, depth, alpha.
-* Single button zoom.
-* Extract selected pages to another file.
-* Copy display bitmap to clipboard, and save clipboard bitmap as BMP file.
-* Add bitmap or user preview to EPS file (Interchange, TIFF or Windows
- Metafile)
-* Graphically select and show bounding box for EPS file.
-* Extract bitmap preview or PostScript from DOS EPS file.
-* Extract text or search for text.
-* Can read gzip and bzip2 compressed PostScript and PDF files.
-* On-line help.
-* English, Catalan, Dutch, French, German, Greek, Italian, Russian,
- Slovak, Spanish and Swedish languages.