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
2004-04-15 14:11:16 +00:00
|
|
|
# New ports collection makefile for: zgv
|
|
|
|
# Date created: 2004-04-15
|
|
|
|
# Whom: Radim Kolar
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= zgv
|
2005-05-04 12:49:45 +00:00
|
|
|
PORTVERSION= 5.9
|
2006-10-08 21:26:27 +00:00
|
|
|
PORTREVISION= 1
|
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
2004-04-15 14:11:16 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
|
|
MASTER_SITE_SUBDIR= apps/graphics/viewers/svga
|
|
|
|
|
2004-10-12 13:23:48 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
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
2004-04-15 14:11:16 +00:00
|
|
|
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
|
2004-05-09 16:35:36 +00:00
|
|
|
ALL_TARGET= zgv info
|
|
|
|
MAKE_ENV= ZGV_LIBS="${LDFLAGS}"
|
2005-11-02 10:11:44 +00:00
|
|
|
BINMODE= 4755
|
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
2004-04-15 14:11:16 +00:00
|
|
|
|
|
|
|
PLIST_FILES= bin/zgv etc/zgvrc.sample
|
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
|
|
MAN1= zgv.1
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
INFO= zgv
|
2004-04-18 14:35:27 +00:00
|
|
|
PORTDOCS= NEWS README SECURITY TODO INSTALL
|
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
2004-04-15 14:11:16 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${RM} ${WRKSRC}/doc/zgv
|
2004-05-09 16:35:36 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|ZGV_LIBS=|ZGV_LIBS+=|' ${WRKSRC}/src/Makefile
|
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
2004-04-15 14:11:16 +00:00
|
|
|
|
|
|
|
do-install:
|
2005-11-02 10:11:44 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/zgv ${PREFIX}/bin
|
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
2004-04-15 14:11:16 +00:00
|
|
|
${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 <bsd.port.mk>
|