pkgsrc/misc/multitail/Makefile
jlam 39843c2c61 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 19:21:10 +00:00

31 lines
1,009 B
Makefile

# $NetBSD: Makefile,v 1.20 2008/03/04 19:21:12 jlam Exp $
#
DISTNAME= multitail-4.0.6
CATEGORIES= misc sysutils
MASTER_SITES= http://www.vanheusden.com/multitail/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.vanheusden.com/multitail/
COMMENT= View one or multiple files
PKG_DESTDIR_SUPPORT= user-destdir
USE_NCURSES= yes # Needs the <panel> library.
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/multitail \
share/examples/multitail
CONF_FILES= ${PREFIX:Q}/share/examples/multitail/multitail.conf \
${PKG_SYSCONFDIR:Q}/multitail.conf
do-install:
${INSTALL_PROGRAM} ${WRKSRC:Q}/multitail ${DESTDIR}${PREFIX:Q}/bin/
${INSTALL_MAN} ${WRKSRC:Q}/multitail.1 ${DESTDIR}${PREFIX:Q}/man/man1/
${INSTALL_DATA} ${WRKSRC:Q}/multitail.conf \
${DESTDIR}${PREFIX:Q}/share/examples/multitail/
cd ${WRKSRC:Q} && ${INSTALL_DATA} *.txt manual*.html \
${DESTDIR}${PREFIX:Q}/share/doc/multitail/
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"