summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2009-12-20 10:09:42 +0000
committertron <tron@pkgsrc.org>2009-12-20 10:09:42 +0000
commit1b90ad452a81d7cd4b57412dd5004643a08673b0 (patch)
tree9dd3be3ff5b5ea103d5f230019e833fe8d1966df /chat
parent4310d8d6ae045fe77640194fe229d8ac3e1d14da (diff)
downloadpkgsrc-1b90ad452a81d7cd4b57412dd5004643a08673b0.tar.gz
Add support for user destinaton dir installation to the "xchat-perl"
package.
Diffstat (limited to 'chat')
-rw-r--r--chat/xchat-perl/Makefile12
-rw-r--r--chat/xchat-python/Makefile4
-rw-r--r--chat/xchat/Makefile4
-rw-r--r--chat/xchat/Makefile.common4
4 files changed, 11 insertions, 13 deletions
diff --git a/chat/xchat-perl/Makefile b/chat/xchat-perl/Makefile
index 9f0ab91e393..34076f903ba 100644
--- a/chat/xchat-perl/Makefile
+++ b/chat/xchat-perl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2008/10/19 19:17:42 he Exp $
+# $NetBSD: Makefile,v 1.6 2009/12/20 10:09:42 tron Exp $
.include "../../chat/xchat/Makefile.common"
@@ -23,13 +23,13 @@ USE_TOOLS+= perl
.include "../../lang/perl5/buildlink3.mk"
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xchat
+ ${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/share/examples/xchat
${INSTALL_DATA} ${WRKSRC}/plugins/perl/alt_completion.pl \
- ${PREFIX}/share/examples/xchat
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xchat
+ ${DESTDIR}/${PREFIX}/share/examples/xchat
+ ${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/share/doc/xchat
${INSTALL_DATA} ${WRKSRC}/plugins/perl/xchat2-perl.html \
- ${PREFIX}/share/doc/xchat
+ ${DESTDIR}/${PREFIX}/share/doc/xchat
${INSTALL_DATA} ${WRKSRC}/plugins/perl/xchat2-perldocs.html \
- ${PREFIX}/share/doc/xchat
+ ${DESTDIR}/${PREFIX}/share/doc/xchat
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/xchat-python/Makefile b/chat/xchat-python/Makefile
index db0e1863246..17f5e55604b 100644
--- a/chat/xchat-python/Makefile
+++ b/chat/xchat-python/Makefile
@@ -1,6 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2009/02/09 22:56:22 joerg Exp $
-
-PKG_DESTDIR_SUPPORT= user-destdir
+# $NetBSD: Makefile,v 1.12 2009/12/20 10:09:42 tron Exp $
.include "../../chat/xchat/Makefile.common"
diff --git a/chat/xchat/Makefile b/chat/xchat/Makefile
index 421c60e920c..26a3690544d 100644
--- a/chat/xchat/Makefile
+++ b/chat/xchat/Makefile
@@ -1,6 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2009/10/24 15:51:25 tnn Exp $
-
-PKG_DESTDIR_SUPPORT= user-destdir
+# $NetBSD: Makefile,v 1.65 2009/12/20 10:09:42 tron Exp $
.include "Makefile.common"
diff --git a/chat/xchat/Makefile.common b/chat/xchat/Makefile.common
index d5915cc468f..395cfc65c5b 100644
--- a/chat/xchat/Makefile.common
+++ b/chat/xchat/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.59 2009/07/23 09:52:29 tron Exp $
+# $NetBSD: Makefile.common,v 1.60 2009/12/20 10:09:42 tron Exp $
DISTNAME= xchat-2.8.6
CATEGORIES= chat
@@ -8,6 +8,8 @@ EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://xchat.org/
LICENSE= gnu-gpl-v2
+PKG_DESTDIR_SUPPORT= user-destdir
+
PATCH_SITES= http://xchat.org/files/source/2.8/patches/
PATCHFILES= xc286-smallfixes.diff
PATCH_DIST_STRIP= -p1