pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/colortail DESTDIR support
details: https://anonhg.NetBSD.org/pkgsrc/rev/d604ebb1062d
branches: trunk
changeset: 554596:d604ebb1062d
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Feb 16 18:26:43 2009 +0000
description:
DESTDIR support
diffstat:
misc/colortail/Makefile | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r f43b6023c9a4 -r d604ebb1062d misc/colortail/Makefile
--- a/misc/colortail/Makefile Mon Feb 16 18:21:24 2009 +0000
+++ b/misc/colortail/Makefile Mon Feb 16 18:26:43 2009 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index