diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2010-12-10 12:50:56 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2010-12-10 12:50:56 +0800 |
commit | 11d5fb3f38ff655c13ad1f161f65254f4a986604 (patch) | |
tree | e01e373306e753f86523bc12aebe7a01fa470ddf /net | |
parent | 30f0ff79e897dd18028638c75c9f6335942cc461 (diff) | |
download | freebsd-ports-gnome-11d5fb3f38ff655c13ad1f161f65254f4a986604.tar.gz freebsd-ports-gnome-11d5fb3f38ff655c13ad1f161f65254f4a986604.tar.zst freebsd-ports-gnome-11d5fb3f38ff655c13ad1f161f65254f4a986604.zip |
Net::SMS::Clickatell - Access to Clickatell SMS messaging service.
Clickatell is a commercial service that allows its users to send SMS messages
to anyone in the world. This service supports many ways to send messages, for
example HTTP, SMTP and SMPP, among others.
WWW: http://search.cpan.org/dist/Net-SMS-Clickatell-0.05/
PR: ports/152772
Submitted by: John Bayly <freebsd.ports at tipstrade.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/p5-Net-SMS-Clickatell/Makefile | 24 | ||||
-rw-r--r-- | net/p5-Net-SMS-Clickatell/distinfo | 2 | ||||
-rw-r--r-- | net/p5-Net-SMS-Clickatell/files/patch-lib-Net-SMS-Clickatell.pm | 20 | ||||
-rw-r--r-- | net/p5-Net-SMS-Clickatell/pkg-descr | 6 | ||||
-rw-r--r-- | net/p5-Net-SMS-Clickatell/pkg-plist | 7 |
6 files changed, 60 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index dca18830c0b5..65424d5ef1d2 100644 --- a/net/Makefile +++ b/net/Makefile @@ -636,6 +636,7 @@ SUBDIR += p5-Net-SFTP-Foreign SUBDIR += p5-Net-SIP SUBDIR += p5-Net-SMPP + SUBDIR += p5-Net-SMS-Clickatell SUBDIR += p5-Net-SMS-PChome SUBDIR += p5-Net-SNPP SUBDIR += p5-Net-SSH diff --git a/net/p5-Net-SMS-Clickatell/Makefile b/net/p5-Net-SMS-Clickatell/Makefile new file mode 100644 index 000000000000..e5451109dec5 --- /dev/null +++ b/net/p5-Net-SMS-Clickatell/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: p5-Net-SMS-Clickatell +# Date created: 2010-12-01 +# Whom: John Bayly <freebsd.ports@tipstrade.net> +# +# $FreeBSD$ +# + +PORTNAME= Net-SMS-Clickatell +PORTVERSION= 0.05 +CATEGORIES= net perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= freebsd.ports@tipstrade.net +COMMENT= Access to Clickatell SMS messaging service + +PERL_CONFIGURE= yes + +MAN3= Net::SMS::Clickatell.3 + +post-patch: + ${FIND} ${WRKSRC} -name "*.orig" -delete + +.include <bsd.port.mk> diff --git a/net/p5-Net-SMS-Clickatell/distinfo b/net/p5-Net-SMS-Clickatell/distinfo new file mode 100644 index 000000000000..93555568ebec --- /dev/null +++ b/net/p5-Net-SMS-Clickatell/distinfo @@ -0,0 +1,2 @@ +SHA256 (Net-SMS-Clickatell-0.05.tar.gz) = 50475cd5b40e0322b72fe5ff5259ecf110bd8a11243549897383f3e14cc9f524 +SIZE (Net-SMS-Clickatell-0.05.tar.gz) = 3924 diff --git a/net/p5-Net-SMS-Clickatell/files/patch-lib-Net-SMS-Clickatell.pm b/net/p5-Net-SMS-Clickatell/files/patch-lib-Net-SMS-Clickatell.pm new file mode 100644 index 000000000000..a53bdd6d9311 --- /dev/null +++ b/net/p5-Net-SMS-Clickatell/files/patch-lib-Net-SMS-Clickatell.pm @@ -0,0 +1,20 @@ +--- lib/Net/SMS/Clickatell.pm.orig 2004-11-30 16:20:13.000000000 +0000 ++++ lib/Net/SMS/Clickatell.pm 2010-12-02 00:57:10.000000000 +0000 +@@ -89,7 +89,7 @@ + if(!exists $args{BaseURL}) { + # BaseURL argument wasn't passed. Set it to default. + # Check if we have to use SSL. +- if(exists $args{UseSSL}) { ++ if($args{UseSSL}) { + $args{BaseURL} = 'https://api.clickatell.com'; + } else { + $args{BaseURL} = 'http://api.clickatell.com'; +@@ -97,7 +97,7 @@ + } else { + # Set BaseURL property value. + # Check if we have to use SSL. +- if(exists $args{UseSSL}) { ++ if($args{UseSSL}) { + $args{BaseURL} = 'https://'.$args{BaseURL}; + } else { + $args{BaseURL} = 'http://'.$args{BaseURL}; diff --git a/net/p5-Net-SMS-Clickatell/pkg-descr b/net/p5-Net-SMS-Clickatell/pkg-descr new file mode 100644 index 000000000000..1c5cb8225b55 --- /dev/null +++ b/net/p5-Net-SMS-Clickatell/pkg-descr @@ -0,0 +1,6 @@ +Net::SMS::Clickatell - Access to Clickatell SMS messaging service. +Clickatell is a commercial service that allows its users to send SMS messages +to anyone in the world. This service supports many ways to send messages, for +example HTTP, SMTP and SMPP, among others. + +WWW: http://search.cpan.org/dist/Net-SMS-Clickatell-0.05/ diff --git a/net/p5-Net-SMS-Clickatell/pkg-plist b/net/p5-Net-SMS-Clickatell/pkg-plist new file mode 100644 index 000000000000..7c12f63e377a --- /dev/null +++ b/net/p5-Net-SMS-Clickatell/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Net/SMS/Clickatell.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SMS/Clickatell/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SMS/Clickatell +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SMS +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net +@dirrmtry %%SITE_PERL%%/Net/SMS +@dirrmtry %%SITE_PERL%%/Net |