summaryrefslogtreecommitdiff
path: root/chat/silc-client-icb
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-02 23:36:16 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-02 23:36:16 +0000
commitcbfd4808ff93703cfad3136f9ec60b8671ad4a89 (patch)
treefb903a516f2d11e608047a032ee5aec10eb6d188 /chat/silc-client-icb
parentaa94bb352bc46d02fd5ea33a1cf6558131006466 (diff)
downloadpkgsrc-cbfd4808ff93703cfad3136f9ec60b8671ad4a89.tar.gz
DESTDIR support
Diffstat (limited to 'chat/silc-client-icb')
-rw-r--r--chat/silc-client-icb/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/chat/silc-client-icb/Makefile b/chat/silc-client-icb/Makefile
index b5b5aa8cf8a..78729bd7911 100644
--- a/chat/silc-client-icb/Makefile
+++ b/chat/silc-client-icb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2009/08/09 13:19:35 tonnerre Exp $
+# $NetBSD: Makefile,v 1.20 2010/02/02 23:36:16 joerg Exp $
#
DISTNAME= irssi-icb-0.14
@@ -12,6 +12,8 @@ MAINTAINER= salo@NetBSD.org
HOMEPAGE= http://www.silcnet.org/
COMMENT= silc-client plugin to access ICB networks
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= silc-client>=${SILC_CLIENT_VERSION}:../../chat/silc-client
.include "../../chat/silc-client/Makefile.common"
@@ -23,12 +25,14 @@ IRSSI_DIR= ${WRKDIR}/${SILC_CLIENT_DISTNAME}/apps/irssi
CONFIGURE_ARGS+= --with-irssi=${IRSSI_DIR:Q}
+INSTALLATION_DIRS+= share/doc/silc-client
+
post-extract:
${CP} ${SILC_CLIENT_CONFIG_H} ${IRSSI_DIR}/config.h
${CP} ${SILC_CLIENT_CONFIG} ${IRSSI_DIR}/irssi-config
post-install:
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/silc-client/README.icb
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/silc-client/README.icb
.include "../../devel/glib/buildlink3.mk"