Re-add OICQ with updated version (1.3)
Submitted by: Ren Zhen <bg1tpt at gmail dot com>
This commit is contained in:
parent
cc091d95a6
commit
d1cc1c7191
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184668
@ -84,6 +84,7 @@
|
||||
SUBDIR += nvi-big5
|
||||
SUBDIR += nvi-euc-cn
|
||||
SUBDIR += nvi-euc-tw
|
||||
SUBDIR += oicq
|
||||
SUBDIR += oto
|
||||
SUBDIR += oxford
|
||||
SUBDIR += oxim
|
||||
|
37
chinese/oicq/Makefile
Normal file
37
chinese/oicq/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# New ports collection makefile for: zh-oicq
|
||||
# Date created: 10 Nov 2003
|
||||
# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= oicq
|
||||
PORTVERSION= 1.3
|
||||
CATEGORIES= chinese net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= perl-oicq
|
||||
DISTNAME= Net-OICQ-${PORTVERSION}
|
||||
|
||||
MAINTAINER= bg1tpt@gmail.com
|
||||
COMMENT= Implements OICQ messaging protocol
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
|
||||
${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor \
|
||||
${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
|
||||
${SITE_PERL}/Crypt/OICQ.pm:${PORTSDIR}/security/p5-Crypt-OICQ
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Net::OICQ.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500800 # inherits from security/p5-Crypt-OICQ
|
||||
IGNORE= requires perl 5.8.x or later. Install lang/perl5.8 then try again
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/qq ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/demo1 ${PREFIX}/bin/qq-demo1
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
chinese/oicq/distinfo
Normal file
3
chinese/oicq/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Net-OICQ-1.3.tar.gz) = 2393be26c64036643b8fa3652a173eab
|
||||
SHA256 (Net-OICQ-1.3.tar.gz) = 2b4585e35f51eaf6513d90750de5fae743dfc63ca0c606a0c72f89a29a65c6ad
|
||||
SIZE (Net-OICQ-1.3.tar.gz) = 31136
|
20
chinese/oicq/files/patch-Makefile.PL
Normal file
20
chinese/oicq/files/patch-Makefile.PL
Normal file
@ -0,0 +1,20 @@
|
||||
--- ./Makefile.PL.orig Tue Feb 6 03:22:45 2007
|
||||
+++ ./Makefile.PL Fri Feb 9 15:57:13 2007
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
WriteMakefile(
|
||||
'NAME' => 'Net::OICQ',
|
||||
- 'VERSION_FROM' => 'OICQ.pm', # finds $VERSION
|
||||
+ 'VERSION_FROM' => 'lib/Net/OICQ.pm', # finds $VERSION
|
||||
'PREREQ_PM' => {Crypt::OICQ => 1.0,
|
||||
Digest::MD5 => 0.1,
|
||||
IO::Select => 0.1,
|
||||
@@ -22,7 +22,7 @@
|
||||
Term::ReadKey => 0,
|
||||
},
|
||||
($] >= 5.005 ? ## Add these new keywords supported since 5.005
|
||||
- (ABSTRACT_FROM => 'OICQ.pm', # retrieve abstract from module
|
||||
+ (ABSTRACT_FROM => 'lib/Net/OICQ.pm', # retrieve abstract from module
|
||||
AUTHOR => 'Shufeng Tan <shufengtan@gmail.com>') : ()),
|
||||
'LIBS' => [''],
|
||||
'DEFINE' => '',
|
5
chinese/oicq/pkg-descr
Normal file
5
chinese/oicq/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Perl-oicq provides Perl module Net::OICQ which implements OICQ messaging
|
||||
protocol. It includes a concole-only OICQ client for you to chat with tens
|
||||
of millons of OICQ users through servers operated by Tencent.
|
||||
|
||||
WWW: http://sourceforge.net/projects/perl-oicq/
|
12
chinese/oicq/pkg-plist
Normal file
12
chinese/oicq/pkg-plist
Normal file
@ -0,0 +1,12 @@
|
||||
bin/qq
|
||||
bin/qq-demo1
|
||||
%%SITE_PERL%%/Net/OICQ.pm
|
||||
%%SITE_PERL%%/Net/OICQ/TextConsole.pm
|
||||
%%SITE_PERL%%/Net/OICQ/Event.pm
|
||||
%%SITE_PERL%%/Net/OICQ/ClientEvent.pm
|
||||
%%SITE_PERL%%/Net/OICQ/ServerEvent.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/OICQ/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/OICQ
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
|
||||
@dirrm %%SITE_PERL%%/Net/OICQ
|
||||
@dirrmtry %%SITE_PERL%%/Net
|
Loading…
Reference in New Issue
Block a user