pkgsrc/misc/colortail/Makefile
rillig 2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00

26 lines
837 B
Makefile

# $NetBSD: Makefile,v 1.14 2007/01/07 09:14:00 rillig Exp $
DISTNAME= colortail-0.3.0
CATEGORIES= misc
MASTER_SITES= http://morrdusk.net/files/
MAINTAINER= zuntum@NetBSD.org
HOMEPAGE= http://morrdusk.net/projects/colortail/
COMMENT= Colour-able replacement for tail(1)
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--datadir=${PREFIX}/share/examples/colortail
DESCR_SRC= ${WRKDIR}/.DESCR_SRC
post-install:
${INSTALL_MAN} ${WRKSRC}/colortail.1 ${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/colortail
cd ${WRKSRC}/example-conf/ && \
${INSTALL_DATA} conf.kernel conf.messages conf.secure \
conf.xferlog conf.daemon ${PREFIX}/share/examples/colortail
${SED} 's,@PREFIX@,${PREFIX},' ${PKGDIR}/DESCR > ${DESCR_SRC}
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"