summaryrefslogtreecommitdiff
path: root/graphics/xzgv/Makefile
blob: eab1c65d3aedd553830c42f01e4ec8f5dee4be23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.25 2004/12/23 02:01:11 wiz Exp $

DISTNAME=	xzgv-0.8
PKGNAME=	xzgv-0.8.0.1
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/viewers/X/

PATCHFILES=	xzgv-0.8-integer-overflow-fix.diff
PATCH_SITES=	http://rus.members.beeb.net/
PATCH_DIST_STRIP=	-p1

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://rus.members.beeb.net/xzgv.html
COMMENT=	Image viewer

USE_MAKEINFO=	YES
INFO_FILES=	xzgv

USE_BUILDLINK3=		yes
USE_X11BASE=		yes
USE_GNU_TOOLS+=		make

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/xzgv ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/doc/xzgv.1 ${PREFIX}/man/man1
	@(cd ${WRKSRC}/doc && ${MAKEINFO} xzgv.texi)
	@for f in xzgv xzgv-1 xzgv-2 xzgv-3 ; do \
	${INSTALL_DATA} ${WRKSRC}/doc/$$f ${PREFIX}/info ; done

.include "../../graphics/imlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"