summaryrefslogtreecommitdiff
path: root/chat/centerim
diff options
context:
space:
mode:
authorjnemeth <jnemeth@pkgsrc.org>2007-10-11 13:09:10 +0000
committerjnemeth <jnemeth@pkgsrc.org>2007-10-11 13:09:10 +0000
commit9ed99eff62022df51e30c8065252d4e9a7617c9c (patch)
tree5d93a0c10abbcc92dfe76d50e75c37751ecea41e /chat/centerim
parenta4438232abe07b4325bd0e46a9c65ee3b846bd88 (diff)
downloadpkgsrc-9ed99eff62022df51e30c8065252d4e9a7617c9c.tar.gz
add DESTDIR support
Diffstat (limited to 'chat/centerim')
-rw-r--r--chat/centerim/Makefile6
1 files changed, 4 insertions, 2 deletions
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"