diff options
author | jlam <jlam@pkgsrc.org> | 2006-04-04 14:45:44 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-04-04 14:45:44 +0000 |
commit | 14053e15ac81fef172bdaf560b9a4a73f79e8b9c (patch) | |
tree | b952c1f0af9da752b35f2b021e4f5cfb35a36023 /graphics/xzgv | |
parent | d8ebe1c571d9f14131958989076bc2af9c3aee6c (diff) | |
download | pkgsrc-14053e15ac81fef172bdaf560b9a4a73f79e8b9c.tar.gz |
* List the info file entries directly in the PLIST.
* Honor PKGINFODIR and PKGMANDIR.
Diffstat (limited to 'graphics/xzgv')
-rw-r--r-- | graphics/xzgv/Makefile | 13 | ||||
-rw-r--r-- | graphics/xzgv/PLIST | 3 |
2 files changed, 10 insertions, 6 deletions
diff --git a/graphics/xzgv/Makefile b/graphics/xzgv/Makefile index b5ded2303ac..f62ef7ee1f7 100644 --- a/graphics/xzgv/Makefile +++ b/graphics/xzgv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2006/03/19 15:33:24 wiz Exp $ +# $NetBSD: Makefile,v 1.33 2006/04/04 14:45:45 jlam Exp $ DISTNAME= xzgv-0.8 PKGNAME= xzgv-0.8.0.1 @@ -16,14 +16,17 @@ COMMENT= Image viewer USE_X11BASE= yes USE_TOOLS+= gmake makeinfo -INFO_FILES= xzgv -INSTALLATION_DIRS= bin info man/man1 +INFO_FILES= # PLIST +INSTALLATION_DIRS= bin ${PKGINFODIR} ${PKGMANDIR}/man1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/xzgv ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/xzgv.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/xzgv.1 ${PREFIX}/${PKGMANDIR}/man1 @(cd ${WRKSRC}/doc && ${MAKEINFO} xzgv.texi) - ${INSTALL_DATA} ${WRKSRC}/doc/xzgv ${PREFIX}/info + cd ${WRKSRC}/doc; for f in xzgv xzgv-[0-9]*; do \ + ${TEST} ! -f "$$f" || \ + ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \ + done .include "../../graphics/imlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/xzgv/PLIST b/graphics/xzgv/PLIST index cbee0a54e13..8d5bfec36fb 100644 --- a/graphics/xzgv/PLIST +++ b/graphics/xzgv/PLIST @@ -1,3 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2004/02/18 00:35:58 seb Exp $ +@comment $NetBSD: PLIST,v 1.5 2006/04/04 14:45:45 jlam Exp $ bin/xzgv +info/xzgv man/man1/xzgv.1 |