summaryrefslogtreecommitdiff
path: root/chat/vicq
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-12-29 21:29:55 +0000
committerjoerg <joerg@pkgsrc.org>2007-12-29 21:29:55 +0000
commit10648f3f4d216ebe5060a2028f67b89ba093ff4c (patch)
treeba98901756fa7b255d8b43fe248b79b9611d0860 /chat/vicq
parentdb5536aafa4d388a0a071c17247b1f6563d0e28f (diff)
downloadpkgsrc-10648f3f4d216ebe5060a2028f67b89ba093ff4c.tar.gz
Use normal module build logic and do the work for vicq and the man page
directly. Fixes the build on DragonFly.
Diffstat (limited to 'chat/vicq')
-rw-r--r--chat/vicq/Makefile21
-rw-r--r--chat/vicq/distinfo7
-rw-r--r--chat/vicq/patches/patch-aa13
-rw-r--r--chat/vicq/patches/patch-ab6
-rw-r--r--chat/vicq/patches/patch-ac6
5 files changed, 19 insertions, 34 deletions
diff --git a/chat/vicq/Makefile b/chat/vicq/Makefile
index 8ccebe30101..b4631377231 100644
--- a/chat/vicq/Makefile
+++ b/chat/vicq/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2007/11/18 10:30:42 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2007/12/29 21:29:55 joerg Exp $
DISTNAME= vicq-0.4.1
PKGREVISION= 3
@@ -14,20 +14,19 @@ DEPENDS+= p5-Term-ReadLine>=1.11:../../devel/p5-Term-ReadLine
PKG_INSTALLATION_TYPES= overwrite pkgviews
-WRKSRC= ${WRKDIR}/vicq
-NO_BUILD= YES
+WRKSRC= ${WRKDIR}/vicq/Net/vICQ
TEST_TARGET= # disabled
-REPLACE_PERL= vicq
-PERL5_CONFIGURE= NO
-PERL5_PACKLIST= auto/Net/vICQ/.packlist
+REPLACE_PERL= ../../vicq
-INSTALLATION_DIRS= bin man
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/vicq
-do-install:
- (cd ${WRKSRC}; ${PERL5} ./install.pl --prefix=${PREFIX})
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vicq
- ${INSTALL_DATA} ${WRKSRC}/vicqrc.example ${PREFIX}/share/examples/vicq
+post-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/vicq/vicq ${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
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/vicq/distinfo b/chat/vicq/distinfo
index ea62098f373..b1baa05d071 100644
--- a/chat/vicq/distinfo
+++ b/chat/vicq/distinfo
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.7 2005/08/08 18:13:13 jlam Exp $
+$NetBSD: distinfo,v 1.8 2007/12/29 21:29:55 joerg Exp $
SHA1 (vicq-0.4.1.tar.bz2) = 824f49adb0f17d3f8c1593517db80fed5c70353c
RMD160 (vicq-0.4.1.tar.bz2) = 4c1e24baf2ae3aa8206eb9cd611ba6dfed9efce5
Size (vicq-0.4.1.tar.bz2) = 54292 bytes
-SHA1 (patch-aa) = 66c5203a16013952584ed20b88be26f75c7dda0f
-SHA1 (patch-ab) = 92592ab9aa43d33546a6ab77ebd3a59d76366a7c
-SHA1 (patch-ac) = ef9fba66af10197d8975076c3caaf310c8549175
+SHA1 (patch-ab) = 7a9d24c8a1e07ccfd868480d6f5f204f92fa05c9
+SHA1 (patch-ac) = ddbb85f68eac90c54a881bd3098cae81f7492f04
diff --git a/chat/vicq/patches/patch-aa b/chat/vicq/patches/patch-aa
deleted file mode 100644
index dcec1c419bd..00000000000
--- a/chat/vicq/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2002/05/07 15:41:38 wiz Exp $
-
---- install.pl.orig Fri Apr 12 18:18:03 2002
-+++ install.pl
-@@ -55,7 +55,7 @@
-
-
- ($err = `cp vicq $bindir`) and fail($err);
--($err = `pod2man vicq --section=1 --release="vICQ 0.4.1" --center="vICQ manual page" | gzip -c > $mandir/man1/vicq.1.gz`) and &fail($err);
-+($err = `pod2man vicq --section=1 --release="vICQ 0.4.1" --center="vICQ manual page" > $mandir/man1/vicq.1`) and &fail($err);
- print "Instalation complete\n";
- sub fail
- {
diff --git a/chat/vicq/patches/patch-ab b/chat/vicq/patches/patch-ab
index 7c8450c0b62..bdaaf3dd266 100644
--- a/chat/vicq/patches/patch-ab
+++ b/chat/vicq/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.2 2002/05/07 15:41:38 wiz Exp $
+$NetBSD: patch-ab,v 1.3 2007/12/29 21:29:55 joerg Exp $
---- vicq.orig Mon Apr 15 18:55:17 2002
-+++ vicq
+--- ../../vicq.orig Mon Apr 15 18:55:17 2002
++++ ../../vicq
@@ -2010,7 +2010,7 @@
$config{log_path} = expand_file($config{log_path});
$config{log_path}.='/' unless $config{log_path}=~/\/$/;
diff --git a/chat/vicq/patches/patch-ac b/chat/vicq/patches/patch-ac
index c11e982843f..7b3d6f4e6c7 100644
--- a/chat/vicq/patches/patch-ac
+++ b/chat/vicq/patches/patch-ac
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.1 2005/08/08 18:13:13 jlam Exp $
+$NetBSD: patch-ac,v 1.2 2007/12/29 21:29:55 joerg Exp $
---- Net/vICQ/install.sh.orig 2002-04-09 12:32:33.000000000 -0400
-+++ Net/vICQ/install.sh
+--- install.sh.orig 2002-04-09 12:32:33.000000000 -0400
++++ install.sh
@@ -1,6 +1,6 @@
#!/bin/sh