diff options
author | jmmv <jmmv> | 2003-06-01 15:59:17 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-06-01 15:59:17 +0000 |
commit | fe6ec4e4410589d823bfbc678a49e618d053c208 (patch) | |
tree | 0ed295c0bf9a25ce106f29fd17d5c3389c996705 | |
parent | ec655e6ade638e564f1e247e6cf69977fa1d53b0 (diff) | |
download | pkgsrc-fe6ec4e4410589d823bfbc678a49e618d053c208.tar.gz |
Initial import of linuxsms, version 0.64:
Linuxsms is a Perl script to send short messages (SMS) to GSM phones.
Provided in pkgsrc-wip by Juan RP as version 0.63.
-rw-r--r-- | comms/linuxsms/DESCR | 1 | ||||
-rw-r--r-- | comms/linuxsms/Makefile | 28 | ||||
-rw-r--r-- | comms/linuxsms/PLIST | 9 | ||||
-rw-r--r-- | comms/linuxsms/distinfo | 5 | ||||
-rw-r--r-- | comms/linuxsms/patches/patch-aa | 15 |
5 files changed, 58 insertions, 0 deletions
diff --git a/comms/linuxsms/DESCR b/comms/linuxsms/DESCR new file mode 100644 index 00000000000..02b1afaaf06 --- /dev/null +++ b/comms/linuxsms/DESCR @@ -0,0 +1 @@ +Linuxsms is a Perl script to send short messages (SMS) to GSM phones. diff --git a/comms/linuxsms/Makefile b/comms/linuxsms/Makefile new file mode 100644 index 00000000000..62520aa570d --- /dev/null +++ b/comms/linuxsms/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/06/01 15:59:17 jmmv Exp $ +# + +DISTNAME= linuxsms-0.64 +CATEGORIES= comms +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=linuxsms/} + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://linuxsms.sourceforge.net/ +COMMENT= Perl script to send short messages to GSM phones + +USE_BUILDLINK2= yes +USE_PERL5= yes +NO_BUILD= yes + +REPLACE_PERL= ${WRKSRC}/linuxsms + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/linuxsms ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/linuxsms.1 ${PREFIX}/man/man1 + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/linuxsms +.for f in BUGS CHANGES README README.ES TODO + ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/linuxsms +.endfor +.undef f + +.include "../../lang/perl5/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/comms/linuxsms/PLIST b/comms/linuxsms/PLIST new file mode 100644 index 00000000000..21c1174c31a --- /dev/null +++ b/comms/linuxsms/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/01 15:59:17 jmmv Exp $ +bin/linuxsms +man/man1/linuxsms.1 +share/doc/linuxsms/BUGS +share/doc/linuxsms/CHANGES +share/doc/linuxsms/README +share/doc/linuxsms/README.ES +share/doc/linuxsms/TODO +@dirrm share/doc/linuxsms diff --git a/comms/linuxsms/distinfo b/comms/linuxsms/distinfo new file mode 100644 index 00000000000..a054f6bf43a --- /dev/null +++ b/comms/linuxsms/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/06/01 15:59:17 jmmv Exp $ + +SHA1 (linuxsms-0.64.tar.gz) = 3551167f3ca50b70f2369a92cc7651a26992612a +Size (linuxsms-0.64.tar.gz) = 35683 bytes +SHA1 (patch-aa) = bed6cf08d3488505a1873f0f7750da8276105fcd diff --git a/comms/linuxsms/patches/patch-aa b/comms/linuxsms/patches/patch-aa new file mode 100644 index 00000000000..c46edf9a92c --- /dev/null +++ b/comms/linuxsms/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/06/01 15:59:18 jmmv Exp $ + +--- linuxsms.orig 2003-06-01 17:57:09.000000000 +0200 ++++ linuxsms +@@ -129,7 +129,9 @@ sub set_ansi() { + sub main_test() { + # test if exist home of script, else try to create + if (! opendir(DIR, $HOME)) { +- mkdir ($HOME, 0700) or die $c_red.$c_bold.$c_blink."error\!, can\'t create ".$HOME.$c_default."\n"; ++ $main::tmphome=$HOME; ++ $main::tmphome =~ s|/$||g; ++ mkdir ($main::tmphome, 0700) or die $c_red.$c_bold.$c_blink."error\!, can\'t create ".$HOME.$c_default."\n"; + print $c_yellow.$c_bold."Creating ".$HOME.$c_default."\n"; + } + closedir (DIR); |