Add support for user destinaton dir installation to the "xchat-perl"

package.
This commit is contained in:
tron 2009-12-20 10:09:42 +00:00
parent c8f8b3c4a4
commit 0b2db78379
4 changed files with 11 additions and 13 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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