mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
- Update to 1.9.2m
PR: ports/70984 Submitted by: Kowalewski Krzysztof, Jr. <pyzmen@kam.pl>
This commit is contained in:
parent
0852823332
commit
8a0570b491
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117905
@ -6,25 +6,35 @@
|
||||
#
|
||||
|
||||
PORTNAME= sms
|
||||
PORTVERSION= 1.9.2d
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.9.2m
|
||||
CATEGORIES= polish
|
||||
MASTER_SITES= http://www.ceti.pl/~miki/komputery/download/sms/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Send SMS to cellular phones in Poland (Idea, ERA, Plus)
|
||||
|
||||
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
|
||||
|
||||
WRKSRC= ${WRKDIR}/sms
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
REINPLACE_ARGS= -i ""
|
||||
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 \
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (sms-1.9.2d.tar.gz) = 6d1b64ba8ef7a85ec38dafe2e93919f9
|
||||
SIZE (sms-1.9.2d.tar.gz) = 91251
|
||||
MD5 (sms-1.9.2m.tar.gz) = ed7f9aae71de570a9dd0d1ac609e9a7a
|
||||
SIZE (sms-1.9.2m.tar.gz) = 88240
|
||||
|
19
polish/sms/files/noaddressbook.patch
Normal file
19
polish/sms/files/noaddressbook.patch
Normal file
@ -0,0 +1,19 @@
|
||||
--- 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
|
@ -1,5 +1,5 @@
|
||||
--- Makefile.orig Wed Mar 19 11:03:10 2003
|
||||
+++ Makefile Sat Mar 29 19:50:28 2003
|
||||
--- 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
|
||||
@ -15,21 +15,17 @@
|
||||
# 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 -I/usr/pkg/include
|
||||
+BSD_LIB=-L${LOCALBASE}/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:
|
||||
@@ -52,10 +52,10 @@
|
||||
|
||||
# katalog pod ktorym program zostanie zainstalowany po make install - binaria
|
||||
# ida do $DIR/$BIN, reszta do $DIR/$DOC
|
||||
-PREFIX?=/usr/local
|
||||
+PREFIX?={PREFIX}
|
||||
@@ -55,7 +55,7 @@
|
||||
PREFIX?=/usr/local
|
||||
INSTALL_PREFIX=$(PREFIX)
|
||||
INSTALL_BIN=$(INSTALL_PREFIX)/bin
|
||||
-INSTALL_DOC=$(INSTALL_PREFIX)/doc/sms
|
||||
-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
|
||||
|
||||
|
@ -3,6 +3,8 @@ 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
|
||||
@ -10,11 +12,17 @@ bin/smsaddr
|
||||
%%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/
|
||||
%%PORTDOCS%%@dirrm share/doc/pl-sms
|
||||
|
@ -6,25 +6,35 @@
|
||||
#
|
||||
|
||||
PORTNAME= sms
|
||||
PORTVERSION= 1.9.2d
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.9.2m
|
||||
CATEGORIES= polish
|
||||
MASTER_SITES= http://www.ceti.pl/~miki/komputery/download/sms/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Send SMS to cellular phones in Poland (Idea, ERA, Plus)
|
||||
|
||||
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
|
||||
|
||||
WRKSRC= ${WRKDIR}/sms
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
REINPLACE_ARGS= -i ""
|
||||
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 \
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (sms-1.9.2d.tar.gz) = 6d1b64ba8ef7a85ec38dafe2e93919f9
|
||||
SIZE (sms-1.9.2d.tar.gz) = 91251
|
||||
MD5 (sms-1.9.2m.tar.gz) = ed7f9aae71de570a9dd0d1ac609e9a7a
|
||||
SIZE (sms-1.9.2m.tar.gz) = 88240
|
||||
|
19
polish/sms2/files/noaddressbook.patch
Normal file
19
polish/sms2/files/noaddressbook.patch
Normal file
@ -0,0 +1,19 @@
|
||||
--- 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
|
@ -1,5 +1,5 @@
|
||||
--- Makefile.orig Wed Mar 19 11:03:10 2003
|
||||
+++ Makefile Sat Mar 29 19:50:28 2003
|
||||
--- 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
|
||||
@ -15,21 +15,17 @@
|
||||
# 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 -I/usr/pkg/include
|
||||
+BSD_LIB=-L${LOCALBASE}/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:
|
||||
@@ -52,10 +52,10 @@
|
||||
|
||||
# katalog pod ktorym program zostanie zainstalowany po make install - binaria
|
||||
# ida do $DIR/$BIN, reszta do $DIR/$DOC
|
||||
-PREFIX?=/usr/local
|
||||
+PREFIX?={PREFIX}
|
||||
@@ -55,7 +55,7 @@
|
||||
PREFIX?=/usr/local
|
||||
INSTALL_PREFIX=$(PREFIX)
|
||||
INSTALL_BIN=$(INSTALL_PREFIX)/bin
|
||||
-INSTALL_DOC=$(INSTALL_PREFIX)/doc/sms
|
||||
-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
|
||||
|
||||
|
@ -3,6 +3,8 @@ 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
|
||||
@ -10,11 +12,17 @@ bin/smsaddr
|
||||
%%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/
|
||||
%%PORTDOCS%%@dirrm share/doc/pl-sms
|
||||
|
Loading…
Reference in New Issue
Block a user