Lines 7-48
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= POE-Component-Jabber |
9 |
PORTNAME= POE-Component-Jabber |
10 |
PORTVERSION= 1.0 |
10 |
PORTVERSION= 1.21 |
11 |
CATEGORIES= net devel perl5 |
11 |
CATEGORIES= net devel perl5 |
12 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S/$/:1,2/} |
12 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
13 |
MASTER_SITE_SUBDIR= POE/:1 ExtUtils/:2 |
13 |
MASTER_SITE_SUBDIR= POE |
14 |
PKGNAMEPREFIX= p5- |
14 |
PKGNAMEPREFIX= p5- |
15 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:1 \ |
|
|
16 |
ExtUtils-AutoInstall-0.59${EXTRACT_SUFX}:2 |
17 |
|
15 |
|
18 |
MAINTAINER= jdputsch@comcast.net |
16 |
MAINTAINER= jdputsch@comcast.net |
19 |
COMMENT= A POE Component for communicating over Jabber |
17 |
COMMENT= A POE Component for communicating over Jabber |
20 |
|
18 |
|
21 |
BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \ |
19 |
BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \ |
22 |
${SITE_PERL}/POE/Filter/XML.pm:${PORTSDIR}/textproc/p5-POE-Filter-XML \ |
20 |
${SITE_PERL}/Filter/Template.pm:${PORTSDIR}/devel/p5-Filter-Template \ |
23 |
${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \ |
21 |
${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \ |
24 |
${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay \ |
|
|
25 |
${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL \ |
22 |
${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL \ |
|
|
23 |
${SITE_PERL}/POE/Component/SSLify.pm:${PORTSDIR}/security/p5-POE-Component-SSLify \ |
24 |
${SITE_PERL}/POE/Filter/XML.pm:${PORTSDIR}/textproc/p5-POE-Filter-XML \ |
26 |
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 |
25 |
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 |
27 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
26 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
28 |
|
27 |
|
29 |
PERL_CONFIGURE= yes |
28 |
PERL_MODBUILD= yes |
30 |
|
29 |
|
31 |
MAN3= POE::Component::Jabber.3 \ |
30 |
MAN3= POE::Component::Jabber.3 \ |
32 |
POE::Component::Jabber::Client::Component.3 \ |
31 |
POE::Component::Jabber::Client::Component.3 \ |
33 |
POE::Component::Jabber::Client::J2.3 \ |
32 |
POE::Component::Jabber::Client::J2.3 \ |
34 |
POE::Component::Jabber::Client::Legacy.3 \ |
33 |
POE::Component::Jabber::Client::Legacy.3 \ |
35 |
POE::Component::Jabber::Client::XMPP.3 \ |
34 |
POE::Component::Jabber::Client::XMPP.3 \ |
36 |
POE::Component::Jabber::Client::XMPP::TLS.3 \ |
35 |
POE::Component::Jabber::Error.3 |
37 |
POE::Component::Jabber::Error.3 \ |
|
|
38 |
POE::Component::Jabber::Server::Socket::CTLS.3 \ |
39 |
POE::Component::Jabber::Server::Socket::STLS.3 |
40 |
|
41 |
pre-configure: |
42 |
@${ECHO_MSG} "===> Putting AutoInstall.pm in work dir" |
43 |
@${MKDIR} ${WRKSRC}/install/ExtUtils |
44 |
@${CP} ${WRKDIR}/ExtUtils-AutoInstall-0.59/lib/ExtUtils/AutoInstall.pm \ |
45 |
${WRKSRC}/install/ExtUtils |
46 |
|
36 |
|
47 |
post-install: |
37 |
post-install: |
48 |
.ifndef(NOPORTDOCS) |
38 |
.ifndef(NOPORTDOCS) |
Lines 53-67
Link Here
|
53 |
|
43 |
|
54 |
.include <bsd.port.pre.mk> |
44 |
.include <bsd.port.pre.mk> |
55 |
|
45 |
|
56 |
.if ${PERL_LEVEL} < 500600 |
46 |
.if ${PERL_LEVEL} < 500801 # required by vendor |
57 |
post-patch: |
47 |
IGNORE= requires at least Perl 5.8.1. Please install lang/perl5.8 and try again |
58 |
@${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' \ |
|
|
59 |
${WRKSRC}/lib/POE/Component/Jabber/Client/Legacy.pm \ |
60 |
${WRKSRC}/lib/POE/Component/Jabber/Client/Component.pm \ |
61 |
${WRKSRC}/lib/POE/Component/Jabber/Client/XMPP.pm \ |
62 |
${WRKSRC}/lib/POE/Component/Jabber/Client/J2.pm \ |
63 |
${WRKSRC}/lib/POE/Component/Jabber/Error.pm \ |
64 |
${WRKSRC}/lib/POE/Component/Jabber.pm |
65 |
.endif |
48 |
.endif |
66 |
|
49 |
|
67 |
.include <bsd.port.post.mk> |
50 |
.include <bsd.port.post.mk> |