1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- After repocopy from polish/sms, update to 2.0.0

PR:		ports/73115
Submitted by:	Krzysztof Kowalewski <pyzmen@kam.pl>
Repocopy by:	marcus
This commit is contained in:
Pav Lucistnik 2004-10-31 21:32:35 +00:00
parent 2b54e91c09
commit 3240c33298
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120548
7 changed files with 20 additions and 113 deletions

View File

@ -17,6 +17,7 @@
SUBDIR += openoffice-1.1
SUBDIR += php_doc
SUBDIR += sms
SUBDIR += sms2
SUBDIR += tleenx2
SUBDIR += trf
SUBDIR += webalizer2

View File

@ -1,48 +1,23 @@
# Ports collection makefile for: sms
# Date created: 23 dec 2001
# Whom: Michal Pasternak <doc@lublin.t1.pl>
# New ports collection makefile for: sms2
# Date created: 04 sep 2004
# Whom: Krzysztof Kowalewski <pyzmen@kam.pl>
#
# $FreeBSD$
#
PORTNAME= sms
PORTVERSION= 1.9.2m
PORTVERSION= 2.0.0
CATEGORIES= polish
MASTER_SITES= http://www.ceti.pl/~miki/komputery/download/sms/
MASTER_SITES= http://ceti.pl/~miki/komputery/download/sms/
MAINTAINER= ports@FreeBSD.org
COMMENT= Send SMS to cellular phones in Poland (Idea, ERA, Plus)
WRKSRC= ${WRKDIR}/sms
LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl \
pcre.0:${PORTSDIR}/devel/pcre \
gdbm.3:${PORTSDIR}/databases/gdbm
BUILD_DEPENDS= ${LOCALBASE}/include/pcre++.h:${PORTSDIR}/devel/pcre++
USE_GMAKE= yes
USE_REINPLACE= yes
REINPLACE_ARGS= -i ""
MAKE_ARGS= CXX="${CXX}"
.if defined(NOPORTDOCS)
MAKE_ARGS+= NOPORTDOCS=1
.endif
.if defined(WITHOUT_ADDRESSBOOK)
EXTRA_PATCHES+= ${FILESDIR}/noaddressbook.patch
.else
LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
.endif
MAN1= sms.1 smsaddr.1
MAN5= smsrc.5
post-extract:
@${FIND} ${WRKSRC} -name CVS | ${XARGS} -n 1 ${RM} -r
post-patch:
@${REINPLACE_CMD} -e 's,/etc/smsrc,${PREFIX}/etc/smsrc,' \
${WRKSRC}/sms.h \
${WRKSRC}/README.smsrc
@${REINPLACE_CMD} -e 's,bash,sh,' \
${WRKSRC}/contrib/sms-conf
post-install:
${STRIP_CMD} ${PREFIX}/bin/sms
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (sms-1.9.2m.tar.gz) = ed7f9aae71de570a9dd0d1ac609e9a7a
SIZE (sms-1.9.2m.tar.gz) = 88240
MD5 (sms-2.0.0.tar.gz) = 6651efecd15f93e78b08f225e77b3e60
SIZE (sms-2.0.0.tar.gz) = 47191

View File

@ -1,19 +0,0 @@
--- Makefile.orig Wed Aug 25 13:03:09 2004
+++ Makefile Wed Aug 25 13:03:15 2004
@@ -35,11 +35,11 @@
# jesli chcesz wylaczyc obsluge ksiazki adresowej zakomentuj caly
# ponizszy blok:
-GDBM=-lgdbm
-ADDR_DEF=-DADDR_BOOK
-ADDR_O=cgdbm.o addrbook.o
-SMSADDR=smsaddr
-LNCMD=rm -f $(SMSADDR); ln -s $(TARGET) $(SMSADDR)
+#GDBM=-lgdbm
+#ADDR_DEF=-DADDR_BOOK
+#ADDR_O=cgdbm.o addrbook.o
+#SMSADDR=smsaddr
+#LNCMD=rm -f $(SMSADDR); ln -s $(TARGET) $(SMSADDR)
# nw katalogi nie sa przeszukiwane automatycznie na FreeBSD, NetBSD i OpenBSD.
# Odkomentuj ponizsze linie jesli kompilujesz program na tych systemach

View File

@ -1,31 +0,0 @@
--- Makefile.orig Wed Aug 25 12:52:38 2004
+++ Makefile Wed Aug 25 12:53:44 2004
@@ -22,7 +22,7 @@
#
# wszystkie ww opcje nalezy dodawac do zmiennej CFLAGS
-CFLAGS+=-O2
+#CFLAGS+=-O2
# dla starszych wersji Solarisa (tam gdzie nie ma snprintf, getdomainname,
# itd.) odkomentuj ponizsze dwie linie:
@@ -43,8 +43,8 @@
# nw katalogi nie sa przeszukiwane automatycznie na FreeBSD, NetBSD i OpenBSD.
# 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/usr/local/include -I/usr/pkg/include
+BSD_LIB=-L/usr/local/lib -L/usr/pkg/lib
# jesli kompilujemu program w systemie AmigaOS nalezy odkomentowac
# ponizsze linie:
@@ -55,7 +55,7 @@
PREFIX?=/usr/local
INSTALL_PREFIX=$(PREFIX)
INSTALL_BIN=$(INSTALL_PREFIX)/bin
-INSTALL_DOC=$(INSTALL_PREFIX)/share/sms
+INSTALL_DOC=$(INSTALL_PREFIX)/share/doc/pl-sms
INSTALL_MAN=$(INSTALL_PREFIX)/man
# ponizej juz nic nie powinno sie zmieniac

View File

@ -1,3 +1,4 @@
A program to send SMS to cellular phones in Poland (Idea, ERA, Plus).
Development version, completly rewritten.
WWW: http://www.ceti.pl/~miki/komputery/sms.html

View File

@ -1,28 +1,8 @@
bin/sms
bin/smsaddr
%%PORTDOCS%%share/doc/pl-sms/contrib/tksms/tksms
%%PORTDOCS%%share/doc/pl-sms/contrib/tksms/sms_wr
%%PORTDOCS%%share/doc/pl-sms/contrib/tksms/README
%%PORTDOCS%%share/doc/pl-sms/contrib/test/test-sms.html
%%PORTDOCS%%share/doc/pl-sms/contrib/test/test-sms.cgi
%%PORTDOCS%%share/doc/pl-sms/contrib/sms.spec
%%PORTDOCS%%share/doc/pl-sms/contrib/sms.html
%%PORTDOCS%%share/doc/pl-sms/contrib/sms.cgi
%%PORTDOCS%%share/doc/pl-sms/contrib/sms-get
%%PORTDOCS%%share/doc/pl-sms/contrib/sms-conf
%%PORTDOCS%%share/doc/pl-sms/contrib/procmailrc
%%PORTDOCS%%share/doc/pl-sms/contrib/mimecut
%%PORTDOCS%%share/doc/pl-sms/contrib/miastoplusa/mpl.sh
%%PORTDOCS%%share/doc/pl-sms/contrib/miastoplusa/README
%%PORTDOCS%%share/doc/pl-sms/contrib/gtksms
%%PORTDOCS%%share/doc/pl-sms/contrib/freebsd
%%PORTDOCS%%share/doc/pl-sms/contrib/Makefile.amiga
%%PORTDOCS%%share/doc/pl-sms/README
%%PORTDOCS%%share/doc/pl-sms/README.first
%%PORTDOCS%%share/doc/pl-sms/README.smsrc
%%PORTDOCS%%share/doc/pl-sms/README.supersms
%%PORTDOCS%%@dirrm share/doc/pl-sms/contrib/tksms
%%PORTDOCS%%@dirrm share/doc/pl-sms/contrib/test
%%PORTDOCS%%@dirrm share/doc/pl-sms/contrib/miastoplusa
%%PORTDOCS%%@dirrm share/doc/pl-sms/contrib
%%PORTDOCS%%@dirrm share/doc/pl-sms
%%DATADIR%%/README
%%DATADIR%%/README.smsrc
%%DATADIR%%/mimecut
%%DATADIR%%/procmailrc
%%DATADIR%%/sms-get
@dirrm %%DATADIR%%