aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comms/Makefile1
-rw-r--r--comms/p5-SMS-Send/Makefile41
-rw-r--r--comms/p5-SMS-Send/distinfo3
-rw-r--r--comms/p5-SMS-Send/pkg-descr16
-rw-r--r--comms/p5-SMS-Send/pkg-plist11
5 files changed, 72 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index 45ebc714cf4d..56357a8dae74 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -72,6 +72,7 @@
SUBDIR += p5-Device-Modem
SUBDIR += p5-Device-SerialPort
SUBDIR += p5-Fax-Hylafax-Client
+ SUBDIR += p5-SMS-Send
SUBDIR += plp
SUBDIR += pr
SUBDIR += predict
diff --git a/comms/p5-SMS-Send/Makefile b/comms/p5-SMS-Send/Makefile
new file mode 100644
index 000000000000..49ba3868996c
--- /dev/null
+++ b/comms/p5-SMS-Send/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: p5-SMS-Send
+# Date created: 2006-08-26
+# Whom: Tsung-Han Yeh <snowfly@yuntech.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= SMS-Send
+PORTVERSION= 0.03
+CATEGORIES= comms perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+#MASTER_SITE_SUBDIR= CPAN/ADAMK
+MASTER_SITE_SUBDIR= SMS
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= snowfly@yuntech.edu.tw
+COMMENT= Driver-based API for sending SMS messages
+
+RUN_DEPENDS= ${SITE_PERL}/Class/Adapter.pm:${PORTSDIR}/devel/p5-Class-Adapter \
+ ${SITE_PERL}/Module/Pluggable.pm:${PORTSDIR}/devel/p5-Module-Pluggable \
+ ${SITE_PERL}/Params/Util.pm:${PORTSDIR}/devel/p5-Params-Util
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= SMS::Send.3 \
+ SMS::Send::AU::Test.3 \
+ SMS::Send::Driver.3 \
+ SMS::Send::Test.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+RUN_DEPENDS+= ${SITE_PERL}/base.pm:${PORTSDIR}/devel/p5-Class-Fields
+.endif
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.0 due to dependency. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/comms/p5-SMS-Send/distinfo b/comms/p5-SMS-Send/distinfo
new file mode 100644
index 000000000000..cef2d9feb74f
--- /dev/null
+++ b/comms/p5-SMS-Send/distinfo
@@ -0,0 +1,3 @@
+MD5 (SMS-Send-0.03.tar.gz) = d0fac149fe00ab6597b974d53bc91766
+SHA256 (SMS-Send-0.03.tar.gz) = f31a6467ffb3a430287fc7d9019f435d22ee3f27003d03b967bf8e9e4f171b97
+SIZE (SMS-Send-0.03.tar.gz) = 26392
diff --git a/comms/p5-SMS-Send/pkg-descr b/comms/p5-SMS-Send/pkg-descr
new file mode 100644
index 000000000000..d9ff3b9dba51
--- /dev/null
+++ b/comms/p5-SMS-Send/pkg-descr
@@ -0,0 +1,16 @@
+SMS::Send is intended to provide a driver-based single API for sending SMS and
+MMS messages. The intent is to provide a single API against which to write the
+code to send an SMS message.
+
+At the same time, the intent is to remove the limits of some of the previous
+attempts at this sort of API, like "must be free internet-based SMS services".
+
+SMS::Send drivers are installed seperately, and might use the web, email or
+physical SMS hardware. It could be a free or paid. The details shouldn't matter.
+
+You should not have to care how it is actually sent, only that it has been sent
+(although some drivers may not be able to provide certainty).
+
+
+Author: Adam Kennedy <cpan@ali.as>
+WWW: http://search.cpan.org/dist/SMS-Send/
diff --git a/comms/p5-SMS-Send/pkg-plist b/comms/p5-SMS-Send/pkg-plist
new file mode 100644
index 000000000000..2269be07b0f4
--- /dev/null
+++ b/comms/p5-SMS-Send/pkg-plist
@@ -0,0 +1,11 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/SMS/Send.pm
+%%SITE_PERL%%/SMS/Send/AU/Test.pm
+%%SITE_PERL%%/SMS/Send/Driver.pm
+%%SITE_PERL%%/SMS/Send/Test.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SMS/Send/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/SMS/Send
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/SMS
+@dirrmtry %%SITE_PERL%%/SMS/Send/AU
+@dirrmtry %%SITE_PERL%%/SMS/Send
+@dirrmtry %%SITE_PERL%%/SMS