summaryrefslogtreecommitdiff
path: root/chat/vicq
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-06-07 14:27:38 +0000
committerobache <obache@pkgsrc.org>2008-06-07 14:27:38 +0000
commit1bb39a0a6b5f51025991a083f9b0f74d0e3743cc (patch)
tree805d97ecd6b2bfc6bed51984a5aa03bd15eee37f /chat/vicq
parentdb6c6f71d7fabcf8d341d3db4802d11ef88f957b (diff)
downloadpkgsrc-1bb39a0a6b5f51025991a083f9b0f74d0e3743cc.tar.gz
Re-add PERL5_PACKLIST, lost previous commit. Fixes PR 38846.
While here, add DESTDIR support.
Diffstat (limited to 'chat/vicq')
-rw-r--r--chat/vicq/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/chat/vicq/Makefile b/chat/vicq/Makefile
index b4631377231..7a61f94d5fc 100644
--- a/chat/vicq/Makefile
+++ b/chat/vicq/Makefile
@@ -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 @@ COMMENT= Simple icq client written in perl
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"