From e41aae26650b2ce44c47aee040318822098d8607 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Thu, 15 Apr 2004 14:11:16 +0000 Subject: Add zgv 5.8, zgv is an svgalib-based viewer which views GIF, JPEG, PNG, PBM/PGM/PPM, TIFF, BMP, TGA, PCX, mrf, XBM, and XPM files, with a full-screen file selector front-end. It can be used as a simple command, with zgv filename(s), which bypasses the front-end. For more on how zgv works and how to use it, do `info zgv' or `man zgv' once it's installed. PR: ports/65577 Submitted by: Radim Kolar --- graphics/Makefile | 1 + graphics/zgv/Makefile | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ graphics/zgv/distinfo | 2 ++ graphics/zgv/pkg-descr | 8 ++++++++ 4 files changed, 63 insertions(+) create mode 100644 graphics/zgv/Makefile create mode 100644 graphics/zgv/distinfo create mode 100644 graphics/zgv/pkg-descr (limited to 'graphics') diff --git a/graphics/Makefile b/graphics/Makefile index 189cb20f179f..67bf6ca16243 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -473,6 +473,7 @@ SUBDIR += xwpick SUBDIR += xzgv SUBDIR += yafray + SUBDIR += zgv SUBDIR += zimg SUBDIR += zphoto diff --git a/graphics/zgv/Makefile b/graphics/zgv/Makefile new file mode 100644 index 000000000000..c5e5961c4d45 --- /dev/null +++ b/graphics/zgv/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: zgv +# Date created: 2004-04-15 +# Whom: Radim Kolar +# +# $FreeBSD$ +# + +PORTNAME= zgv +PORTVERSION= 5.8 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= apps/graphics/viewers/svga + +MAINTAINER= hsn@netmag.cz +COMMENT= Graphics viewer for SVGAlib + +LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \ + vga.1:${PORTSDIR}/graphics/svgalib \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ + png.5:${PORTSDIR}/graphics/png + +ONLY_FOR_ARCHS= i386 +USE_GMAKE= yes +ALL_TARGET= all info + +PLIST_FILES= bin/zgv etc/zgvrc.sample +.if !defined(NO_INSTALL_MANPAGES) +MAN1= zgv.1 +.endif +.if !defined(NOPORTDOCS) +INFO= zgv +PORTDOCS= NEWS README SECURITY TODO +.endif + +post-patch: + ${RM} ${WRKSRC}/doc/zgv + +do-install: + ${INSTALL} -c -g wheel -o root -m 4755 ${WRKSRC}/src/zgv ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/doc/sample.zgvrc ${PREFIX}/etc/zgvrc.sample +.if !defined(NOPORTDOCS) + ${INSTALL_DATA} ${WRKSRC}/doc/zgv ${PREFIX}/${INFO_PATH}/zgv.info + ${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif +.if !defined(NO_INSTALL_MANPAGES) + ${INSTALL_MAN} ${WRKSRC}/doc/zgv.1 ${MAN1PREFIX}/man/man1 +.endif + +.include diff --git a/graphics/zgv/distinfo b/graphics/zgv/distinfo new file mode 100644 index 000000000000..f370d367eeea --- /dev/null +++ b/graphics/zgv/distinfo @@ -0,0 +1,2 @@ +MD5 (zgv-5.8.tar.gz) = 016bb8f3b9f3d1aa01a837dbbb67c5dc +SIZE (zgv-5.8.tar.gz) = 391623 diff --git a/graphics/zgv/pkg-descr b/graphics/zgv/pkg-descr new file mode 100644 index 000000000000..a6e027b7a43c --- /dev/null +++ b/graphics/zgv/pkg-descr @@ -0,0 +1,8 @@ +zgv is an svgalib-based viewer which views GIF, JPEG, PNG, +PBM/PGM/PPM, TIFF, BMP, TGA, PCX, mrf, XBM, and XPM files, with a +full-screen file selector front-end. It can be used as a simple +command, with zgv filename(s), which bypasses the front-end. For +more on how zgv works and how to use it, do `info zgv' or `man zgv' +once it's installed. + +WWW: http://www.svgalib.org/rus/zgv/ -- cgit v1.2.3