From 9ed99eff62022df51e30c8065252d4e9a7617c9c Mon Sep 17 00:00:00 2001 From: jnemeth Date: Thu, 11 Oct 2007 13:09:10 +0000 Subject: add DESTDIR support --- chat/centerim/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chat/centerim/Makefile') diff --git a/chat/centerim/Makefile b/chat/centerim/Makefile index 70b87f38540..d517603ceab 100644 --- a/chat/centerim/Makefile +++ b/chat/centerim/Makefile @@ -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 @@ COMMENT= Instant Messenger interface supporting many protocols 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 @@ CONFIGURE_ENV+= ac_cv_lib_iconv_iconv=yes .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" -- cgit v1.2.3