[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / misc / colortail

File: [cvs.NetBSD.org] / pkgsrc / misc / colortail / Makefile (download)

Revision 1.17, Mon Feb 16 18:26:43 2009 UTC (11 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.16: +7 -4 lines

DESTDIR support

# $NetBSD: Makefile,v 1.17 2009/02/16 18:26:43 joerg Exp $

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

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

PKG_DESTDIR_SUPPORT=	user-destdir

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"