diff options
author | joerg <joerg> | 2009-02-16 18:26:43 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-02-16 18:26:43 +0000 |
commit | e49b350f52a9c2ef302e897df53ac3b9f7502f45 (patch) | |
tree | 54afde6ae0f862f584740f93a7450f7f6a72540e /misc | |
parent | 36c321b696fb230a69a111876233851cee4e5071 (diff) | |
download | pkgsrc-e49b350f52a9c2ef302e897df53ac3b9f7502f45.tar.gz |
DESTDIR support
Diffstat (limited to 'misc')
-rw-r--r-- | misc/colortail/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/misc/colortail/Makefile b/misc/colortail/Makefile index f95c0d55b7e..5c995bffa76 100644 --- a/misc/colortail/Makefile +++ b/misc/colortail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2008/10/05 10:59:40 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2009/02/16 18:26:43 joerg Exp $ DISTNAME= colortail-0.3.0 CATEGORIES= misc @@ -8,17 +8,20 @@ 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 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/colortail + ${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 ${PREFIX}/share/examples/colortail + conf.xferlog conf.daemon ${DESTDIR}${PREFIX}/share/examples/colortail .include "../../devel/libgetopt/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |