summaryrefslogtreecommitdiff
path: root/net/polsms
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-03-23 22:11:24 +0000
committerzuntum <zuntum@pkgsrc.org>2001-03-23 22:11:24 +0000
commit78a388e78c8c8d1c9122c5c00035c6ab6f078961 (patch)
treedf4fa02de7dade8da0884cf7c05bfc24217d50f7 /net/polsms
parent2772a3107330aab145b72d0f26a2c3489aefc8cf (diff)
downloadpkgsrc-78a388e78c8c8d1c9122c5c00035c6ab6f078961.tar.gz
Initial import of polsms.
SMS provides a useful command-line interface to sending SMS to mobile phones on Polish GSM networks. Documentation is available only in Polish. Fixes pkg/11933.
Diffstat (limited to 'net/polsms')
-rw-r--r--net/polsms/Makefile33
-rw-r--r--net/polsms/files/md53
-rw-r--r--net/polsms/files/patch-sum3
-rw-r--r--net/polsms/patches/patch-aa38
-rw-r--r--net/polsms/pkg/DESCR3
-rw-r--r--net/polsms/pkg/PLIST20
6 files changed, 100 insertions, 0 deletions
diff --git a/net/polsms/Makefile b/net/polsms/Makefile
new file mode 100644
index 00000000000..ef0e486618c
--- /dev/null
+++ b/net/polsms/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/23 22:11:24 zuntum Exp $
+#
+
+DISTNAME= sms-1.8.8c
+PKGNAME= polsms-1.8.8c
+CATEGORIES= net
+MASTER_SITES= http://www.ceti.pl/~miki/komputery/download/sms/
+
+MAINTAINER= zuntum@netbsd.org
+HOMEPAGE= http://www.ceti.pl/~miki/komputery/sms.html
+COMMENT= useful command-line interface to sending SMS to Polish GSM networks
+
+DEPENDS+= gdbm-*:../../databases/gdbm
+
+USE_GMAKE= YES
+
+WRKSRC= ${WRKDIR}/sms
+
+MAKE_ENV+= CC="${CXX}" C="${CC}"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/sms ${PREFIX}/bin
+ ${LN} -sf ${PREFIX}/bin/sms ${PREFIX}/bin/smsaddr
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/sms ${PREFIX}/share/sms/doc \
+ ${PREFIX}/share/sms/contrib
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/sms/doc
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} old_solaris NetBSD solaris \
+ plusmail FreeBSD qmail eranet podziel_sms eragsm.asp \
+ ${PREFIX}/share/sms/doc
+ cd ${WRKSRC}/contrib && ${INSTALL_DATA} mimecut procmailrc \
+ sms.cgi sms.html ${PREFIX}/share/sms/contrib
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/polsms/files/md5 b/net/polsms/files/md5
new file mode 100644
index 00000000000..51eb8a3b27f
--- /dev/null
+++ b/net/polsms/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/23 22:11:24 zuntum Exp $
+
+SHA1 (sms-1.8.8c.tar.gz) = 00bb9306fa2a6b3ddc09635a11d271dfb1493102
diff --git a/net/polsms/files/patch-sum b/net/polsms/files/patch-sum
new file mode 100644
index 00000000000..064a8cd2860
--- /dev/null
+++ b/net/polsms/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/03/23 22:11:24 zuntum Exp $
+
+SHA1 (patch-aa) = c91b2f04caa3becad22eff1278e8fbfed849609b
diff --git a/net/polsms/patches/patch-aa b/net/polsms/patches/patch-aa
new file mode 100644
index 00000000000..2df3efd495e
--- /dev/null
+++ b/net/polsms/patches/patch-aa
@@ -0,0 +1,38 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/03/23 22:11:24 zuntum Exp $
+
+--- Makefile.orig Sun Mar 4 18:16:16 2001
++++ Makefile
+@@ -2,8 +2,6 @@
+ # przez mkmake - (c) Mikolaj Rydzewski, <miki@ceti.pl>
+
+ TARGET=sms
+-CC=g++
+-C=gcc
+
+ # jesli masz klopoty z wysylaniem wiadomosci na komorki sieci Plus mozesz
+ # wymusic na programie wysylanie mali na bramke text.plusgsm.pl zamiast
+@@ -23,7 +21,7 @@
+ #
+ # wszystkie ww opcje nalezy dodawac do zmiennej CFLAGS
+
+-CFLAGS=-O2
++CFLAGS+=-DPLUS_MAIL
+
+ # dla starszych wersji Solarisa (tam gdzie nie ma snprintf, getdomainname,
+ # itd.) odkomentuj ponizsze dwie linie:
+@@ -44,12 +42,12 @@
+
+ # nw katalogi nie sa przeszukiwane automatycznie na FreeBSD oraz NetBSD.
+ # Odkomentuj ponizsze linie jesli kompilujesz program na tych systemach
+-# BSD_INC=-I/usr/local/include -I/usr/pkg/include
+-# BSD_LIB=-L/usr/local/lib -L/usr/pkg/lib
++BSD_INC=-I$(LOCALBASE)/include
++BSD_LIB=-L$(LOCALBASE)/lib -Wl,-R$(LOCALBASE)/lib
+
+ # katalog pod ktorym program zostanie zainstalowany po make install - binaria
+ # ida do $DIR/$BIN, reszta do $DIR/$DOC
+-INSTALL_PREFIX=/usr/local
++INSTALL_PREFIX=$(PREFIX)
+ INSTALL_BIN=$(INSTALL_PREFIX)/bin
+ INSTALL_DOC=$(INSTALL_PREFIX)/doc/sms
+
diff --git a/net/polsms/pkg/DESCR b/net/polsms/pkg/DESCR
new file mode 100644
index 00000000000..5a4bdc77890
--- /dev/null
+++ b/net/polsms/pkg/DESCR
@@ -0,0 +1,3 @@
+SMS provides a useful command-line interface to sending SMS
+to mobile phones on Polish GSM networks.
+Documentation is available only in Polish.
diff --git a/net/polsms/pkg/PLIST b/net/polsms/pkg/PLIST
new file mode 100644
index 00000000000..16120e1d095
--- /dev/null
+++ b/net/polsms/pkg/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/23 22:11:24 zuntum Exp $
+bin/sms
+bin/smsaddr
+share/sms/doc/README
+share/sms/contrib/mimecut
+share/sms/contrib/procmailrc
+share/sms/contrib/sms.cgi
+share/sms/contrib/sms.html
+share/sms/doc/old_solaris
+share/sms/doc/NetBSD
+share/sms/doc/solaris
+share/sms/doc/plusmail
+share/sms/doc/FreeBSD
+share/sms/doc/qmail
+share/sms/doc/eranet
+share/sms/doc/podziel_sms
+share/sms/doc/eragsm.asp
+@dirrm share/sms/contrib
+@dirrm share/sms/doc
+@dirrm share/sms