pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/centerim add DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7581d92f82da
branches:  trunk
changeset: 534087:7581d92f82da
user:      jnemeth <jnemeth%pkgsrc.org@localhost>
date:      Thu Oct 11 13:09:10 2007 +0000

description:
add DESTDIR support

diffstat:

 chat/centerim/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 36397a771e0b -r 7581d92f82da chat/centerim/Makefile
--- a/chat/centerim/Makefile    Thu Oct 11 11:45:06 2007 +0000
+++ b/chat/centerim/Makefile    Thu Oct 11 13:09:10 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/08/30 10:50:55 jnemeth Exp $
+# $NetBSD: Makefile,v 1.4 2007/10/11 13:09:10 jnemeth Exp $
 #
 
 DISTNAME=      centerim-4.22.1
@@ -13,6 +13,8 @@
 
 CONFLICTS=     centericq-[0-9]*
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            gmake perl:run
 USE_LANGUAGES=         c c++
@@ -60,7 +62,7 @@
 .endif
 
 post-install:
-       ${INSTALL_MAN} ${WRKSRC}/centerim.1 ${PREFIX}/${PKGMANDIR}/man1/
+       ${INSTALL_MAN} ${WRKSRC}/centerim.1 ${DESTDIR:Q}${PREFIX}/${PKGMANDIR}/man1/
 
 .include "../../mk/bsd.pkg.mk"
 



Home | Main Index | Thread Index | Old Index