diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
commit | 39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/multitail | |
parent | 0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff) | |
download | pkgsrc-39843c2c61acd3e8f1b7d0fa6eb0f76884067d10.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/multitail')
-rw-r--r-- | misc/multitail/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/misc/multitail/Makefile b/misc/multitail/Makefile index 81a9994f0c9..dd9b68631f9 100644 --- a/misc/multitail/Makefile +++ b/misc/multitail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2007/01/07 09:14:01 rillig Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/04 19:21:12 jlam Exp $ # DISTNAME= multitail-4.0.6 @@ -10,17 +10,22 @@ 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 +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 ${PREFIX:Q}/bin/ - ${INSTALL_MAN} ${WRKSRC:Q}/multitail.1 ${PREFIX:Q}/man/man1/ - ${INSTALL_DATA} ${WRKSRC:Q}/multitail.conf ${PREFIX:Q}/share/examples/multitail/ - cd ${WRKSRC:Q} && ${INSTALL_DATA} *.txt manual*.html ${PREFIX:Q}/share/doc/multitail/ + ${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" |