# $NetBSD: Makefile,v 1.36 2008/03/04 15:39:11 jlam Exp $ DISTNAME= xzgv-0.8 PKGNAME= xzgv-0.8.0.1 PKGREVISION= 3 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= pkgsrc-users@NetBSD.org HOMEPAGE= http://rus.members.beeb.net/xzgv.html COMMENT= Image viewer PKG_DESTDIR_SUPPORT= user-destdir USE_X11BASE= yes USE_TOOLS+= gmake makeinfo INFO_FILES= # PLIST INSTALLATION_DIRS= bin ${PKGINFODIR} ${PKGMANDIR}/man1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/xzgv ${DESTDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/xzgv.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 @(cd ${WRKSRC}/doc && ${MAKEINFO} xzgv.texi) cd ${WRKSRC}/doc; for f in xzgv xzgv-[0-9]*; do \ ${TEST} ! -f "$$f" || \ ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\ done .include "../../graphics/imlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk"