summaryrefslogtreecommitdiff
path: root/sysutils/dmesg2gif/Makefile
blob: 6add5b4effa44c68aa6fb07beffdfb94f6f98bbd (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
# $NetBSD: Makefile,v 1.20 2012/10/03 21:57:37 wiz Exp $
#

DISTNAME=		dmesg2gif-1.3
PKGREVISION=		4
CATEGORIES=		sysutils
MASTER_SITES=		# empty
DISTFILES=		# empty

MAINTAINER=		pkgsrc-users@NetBSD.org
COMMENT=		Output dmesg(8) device tree as GIF image
LICENSE=		2-clause-bsd

PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=		graphviz-[0-9]*:../../graphics/graphviz

WRKSRC=			${WRKDIR}
NO_BUILD=		yes
NO_CONFIGURE=		yes
USE_TOOLS+=		perl:run
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

do-install:
	${INSTALL_SCRIPT} ${FILESDIR}/dmesg2gif ${DESTDIR}${PREFIX}/bin/dmesg2gif
	${INSTALL_MAN} ${FILESDIR}/dmesg2gif.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/dmesg2gif.1

.include "../../mk/bsd.pkg.mk"