summaryrefslogtreecommitdiff
path: root/misc/colortail
diff options
context:
space:
mode:
authorjoerg <joerg>2009-02-16 18:26:43 +0000
committerjoerg <joerg>2009-02-16 18:26:43 +0000
commit39785d92dda3d0c91b7718063cb584900de7dc86 (patch)
tree54afde6ae0f862f584740f93a7450f7f6a72540e /misc/colortail
parentadc56b8cfe8d32289c8f52176380f4ded0e24f3d (diff)
downloadpkgsrc-39785d92dda3d0c91b7718063cb584900de7dc86.tar.gz
DESTDIR support
Diffstat (limited to 'misc/colortail')
-rw-r--r--misc/colortail/Makefile11
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"