pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/thy DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/017a49869b96
branches:  trunk
changeset: 554220:017a49869b96
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Feb 10 16:46:03 2009 +0000

description:
DESTDIR support

diffstat:

 www/thy/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 6b6b8351107f -r 017a49869b96 www/thy/Makefile
--- a/www/thy/Makefile  Tue Feb 10 16:44:21 2009 +0000
+++ b/www/thy/Makefile  Tue Feb 10 16:46:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2008/03/06 14:53:56 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2009/02/10 16:46:03 joerg Exp $
 
 DISTNAME=      thy-0.9.4
 PKGREVISION=   5
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://bonehunter.rulez.org/software/thy/
 COMMENT=       Tiny and fast HTTP daemon
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 BUILD_DEFS+=           IPV6_READY
 USE_TOOLS+=            bison gmake lex
 GNU_CONFIGURE=         yes
@@ -38,10 +40,10 @@
 MAKE_FLAGS+=           pkgconfdir=${EGDIR:Q}
 
 EGDIR=                 ${PREFIX}/share/examples/thy
+INSTALLATION_DIRS=     share/examples/thy
 
 post-install:
-       ${INSTALL_DATA_DIR} ${EGDIR}
-       ${INSTALL_DATA} ${WRKSRC}/etc/thyrc ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/etc/thyrc ${DESTDIR}${EGDIR}
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../security/gnutls/buildlink3.mk"



Home | Main Index | Thread Index | Old Index