summaryrefslogtreecommitdiff
path: root/misc/colortail/Makefile
blob: b5bbc6fe4f5cc8f3b815942e507ba8f743301578 (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
# $NetBSD: Makefile,v 1.19 2012/10/08 09:57:18 asau Exp $

DISTNAME=	colortail-0.3.0
CATEGORIES=	misc
MASTER_SITES=	http://joakimandersson.se/files/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://joakimandersson.se/projects/colortail/
COMMENT=	Colour-able replacement for tail(1)

USE_LANGUAGES=	c c++

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--datadir=${PREFIX}/share/examples/colortail

INSTALLATION_DIRS=	${PKGMANDIR}/man1 share/examples/colortail

post-install:
	${INSTALL_MAN} ${WRKSRC}/colortail.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	cd ${WRKSRC}/example-conf/ && \
	${INSTALL_DATA} conf.kernel conf.messages conf.secure \
		conf.xferlog conf.daemon ${DESTDIR}${PREFIX}/share/examples/colortail

.include "../../devel/libgetopt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"