From 87356ebc3ce31974b768e3e3eea2b4fcd579a858 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 20 Dec 2009 10:09:42 +0000 Subject: Add support for user destinaton dir installation to the "xchat-perl" package. --- chat/xchat-perl/Makefile | 12 ++++++------ chat/xchat-python/Makefile | 4 +--- chat/xchat/Makefile | 4 +--- chat/xchat/Makefile.common | 4 +++- 4 files changed, 11 insertions(+), 13 deletions(-) (limited to 'chat') 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 -- cgit v1.2.3