pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/vicq Re-add PERL5_PACKLIST, lost previous commit....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5eee469d1aa2
branches:  trunk
changeset: 543164:5eee469d1aa2
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Jun 07 14:27:38 2008 +0000

description:
Re-add PERL5_PACKLIST, lost previous commit.  Fixes PR 38846.

While here, add DESTDIR support.

diffstat:

 chat/vicq/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 63b058da9c2d -r 5eee469d1aa2 chat/vicq/Makefile
--- a/chat/vicq/Makefile        Sat Jun 07 11:16:20 2008 +0000
+++ b/chat/vicq/Makefile        Sat Jun 07 14:27:38 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2007/12/29 21:29:55 joerg Exp $
+# $NetBSD: Makefile,v 1.25 2008/06/07 14:27:38 obache Exp $
 
 DISTNAME=      vicq-0.4.1
 PKGREVISION=   3
@@ -13,20 +13,22 @@
 DEPENDS+=      p5-Term-ReadLine>=1.11:../../devel/p5-Term-ReadLine
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 WRKSRC=                        ${WRKDIR}/vicq/Net/vICQ
 TEST_TARGET=           # disabled
 
 REPLACE_PERL=          ../../vicq
+PERL5_PACKLIST=                auto/Net/vICQ/.packlist
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/examples/vicq
 
 post-install:
-       ${INSTALL_SCRIPT} ${WRKDIR}/vicq/vicq ${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKDIR}/vicq/vicq ${DESTDIR}${PREFIX}/bin
        ${PREFIX}/bin/pod2man ${WRKDIR}/vicq/vicq --section=1 \
            --release="vICQ ${DISTNAME:C/.*-//}" \
-           --center="vICQ manual page" >  ${PREFIX}/${PKGMANDIR}/man1/vicq.1
-       ${INSTALL_DATA} ${WRKDIR}/vicq/vicqrc.example ${PREFIX}/share/examples/vicq
+           --center="vICQ manual page" >  ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vicq.1
+       ${INSTALL_DATA} ${WRKDIR}/vicq/vicqrc.example ${DESTDIR}${PREFIX}/share/examples/vicq
 
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index