aboutsummaryrefslogtreecommitdiffstats
path: root/comms/smstools
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-07-23 00:42:39 +0800
committergarga <garga@FreeBSD.org>2005-07-23 00:42:39 +0800
commitcf4a69f2293a2c17af0c5582ec49b6af75211bc4 (patch)
tree9b40cc0de65304d742017681279f383b16b94e7d /comms/smstools
parent8c471a27606b83fb549c500b56401f5b1f2052fd (diff)
downloadfreebsd-ports-gnome-cf4a69f2293a2c17af0c5582ec49b6af75211bc4.tar.gz
freebsd-ports-gnome-cf4a69f2293a2c17af0c5582ec49b6af75211bc4.tar.zst
freebsd-ports-gnome-cf4a69f2293a2c17af0c5582ec49b6af75211bc4.zip
- Update to 1.4.11
- Fix MASTER_SITES - Use NOPORTDOCS PR: ports/83870 Submitted by: Benny Kjaergaard <benny@wax.dk> (maintainer) Approved by: flz (mentor)
Diffstat (limited to 'comms/smstools')
-rw-r--r--comms/smstools/Makefile13
-rw-r--r--comms/smstools/distinfo4
-rw-r--r--comms/smstools/files/patch-install.sub8
-rw-r--r--comms/smstools/pkg-plist148
4 files changed, 93 insertions, 80 deletions
diff --git a/comms/smstools/Makefile b/comms/smstools/Makefile
index 529ad190e798..ec419afe7bec 100644
--- a/comms/smstools/Makefile
+++ b/comms/smstools/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= smstools
-PORTVERSION= 1.14.8
+PORTVERSION= 1.14.11
CATEGORIES= comms
-MASTER_SITES= http://smstools.meinemullemaus.de/packages/
+MASTER_SITES= http://mirrors.catpipe.net/smstools/
MAINTAINER= bennyk@wax.dk
COMMENT= Tools to handle Short Message Service
@@ -28,8 +28,13 @@ post-patch:
${WRKSRC}/examples/smsd.conf.easy \
${WRKSRC}/examples/smsd.conf.full \
${WRKSRC}/bin/sms
- @${REINPLACE_CMD} -e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g; \
- s|%%DOCSDIR%%|${DOCSDIR}|g" \
+ @${REINPLACE_CMD} -e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g" \
${WRKSRC}/install.sub
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -Rfv ${WRKSRC}/doc/* ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/comms/smstools/distinfo b/comms/smstools/distinfo
index ba8281c8c8b7..1be783f90f85 100644
--- a/comms/smstools/distinfo
+++ b/comms/smstools/distinfo
@@ -1,2 +1,2 @@
-MD5 (smstools-1.14.8.tar.gz) = 85b342e53d7fdde89ef25ad21e1c5fe0
-SIZE (smstools-1.14.8.tar.gz) = 158423
+MD5 (smstools-1.14.11.tar.gz) = 3c68b1c8b367fbee7bf1435f05b7dbb5
+SIZE (smstools-1.14.11.tar.gz) = 315527
diff --git a/comms/smstools/files/patch-install.sub b/comms/smstools/files/patch-install.sub
index 60dcb4b12ce1..942fb73a02ac 100644
--- a/comms/smstools/files/patch-install.sub
+++ b/comms/smstools/files/patch-install.sub
@@ -1,6 +1,6 @@
---- install.sub.orig Wed Apr 21 22:37:00 2004
-+++ install.sub Sun May 1 19:37:23 2005
-@@ -15,19 +15,24 @@
+--- install.sub.orig Wed Apr 21 17:37:00 2004
++++ install.sub Fri Jul 22 11:51:41 2005
+@@ -15,19 +15,22 @@
exit 1
fi
echo "Installing"
@@ -25,8 +25,6 @@
+[ -d %%PREFIX%%/etc/rc.d ] && copy bin/sms %%PREFIX%%/etc/rc.d/smsd.sh.sample
+[ -d %%EXAMPLESDIR%% ] || mkdir -p %%EXAMPLESDIR%%
+[ -d %%EXAMPLESDIR%% ] && cp -R examples/* %%EXAMPLESDIR%%
-+[ -d %%DOCSDIR%% ] || mkdir -p %%DOCSDIR%%
-+[ -d %%DOCSDIR%% ] && cp -R doc/* %%DOCSDIR%%
[ -d /var/spool ] || mkdir /var/spool
[ -d /var/spool/sms ] || mkdir /var/spool/sms
[ -d /var/spool/sms/incoming ] || mkdir /var/spool/sms/incoming
diff --git a/comms/smstools/pkg-plist b/comms/smstools/pkg-plist
index ec1ee726ce74..1dfb5730a371 100644
--- a/comms/smstools/pkg-plist
+++ b/comms/smstools/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
bin/email2sms
bin/sendsms
bin/smsresend
@@ -21,73 +22,82 @@ etc/smsd.conf
%%EXAMPLESDIR%%/smsd.conf.full.bak
%%EXAMPLESDIR%%/smsd.conf.easy.bak
%%EXAMPLESDIR%%/operator_logo1.sms
-
-%%DOCSDIR%%/html/slideshow/status.gif
-%%DOCSDIR%%/html/slideshow/eventhandler.gif
-%%DOCSDIR%%/html/slideshow/logfile.gif
-%%DOCSDIR%%/html/slideshow/modem.gif
-%%DOCSDIR%%/html/slideshow/move_l.gif
-%%DOCSDIR%%/html/slideshow/move_r.gif
-%%DOCSDIR%%/html/slideshow/page1.html
-%%DOCSDIR%%/html/slideshow/page2.html
-%%DOCSDIR%%/html/slideshow/page3.html
-%%DOCSDIR%%/html/slideshow/page4.html
-%%DOCSDIR%%/html/slideshow/page5.html
-%%DOCSDIR%%/html/slideshow/page6.html
-%%DOCSDIR%%/html/slideshow/page7.html
-%%DOCSDIR%%/html/slideshow/page8.html
-%%DOCSDIR%%/html/slideshow/queue.gif
-%%DOCSDIR%%/html/slideshow/sms.gif
-%%DOCSDIR%%/html/slideshow/statistic.gif
-%%DOCSDIR%%/html/slideshow/blacklist.gif
-%%DOCSDIR%%/html/blacklist.html
-%%DOCSDIR%%/html/book.html
-%%DOCSDIR%%/html/butterfly.gif
-%%DOCSDIR%%/html/compiling.html
-%%DOCSDIR%%/html/configure.html
-%%DOCSDIR%%/html/configure2.html
-%%DOCSDIR%%/html/contact.html
-%%DOCSDIR%%/html/costs.html
-%%DOCSDIR%%/html/download.html
-%%DOCSDIR%%/html/email.png
-%%DOCSDIR%%/html/book.html~
-%%DOCSDIR%%/html/eventhandler.html
-%%DOCSDIR%%/html/faq.html
-%%DOCSDIR%%/html/fileformat.html
-%%DOCSDIR%%/html/gpl.html
-%%DOCSDIR%%/html/gpl_de.html
-%%DOCSDIR%%/html/gsmmodem.html
-%%DOCSDIR%%/html/hardwarecomp.html
-%%DOCSDIR%%/html/history.html
-%%DOCSDIR%%/html/index.html
-%%DOCSDIR%%/html/index.html~
-%%DOCSDIR%%/html/key.png
-%%DOCSDIR%%/html/license.html
-%%DOCSDIR%%/html/links.html
-%%DOCSDIR%%/html/logging.html
-%%DOCSDIR%%/html/mnp.html
-%%DOCSDIR%%/html/news.html
-%%DOCSDIR%%/html/public_key_stefan_frings.txt
-%%DOCSDIR%%/html/quotes.html
-%%DOCSDIR%%/html/redundancy.html
-%%DOCSDIR%%/html/referenzen.html
-%%DOCSDIR%%/html/run.html
-%%DOCSDIR%%/html/softwarecomp.html
-%%DOCSDIR%%/html/sql.html
-%%DOCSDIR%%/html/sql2.html
-%%DOCSDIR%%/html/statformat.html
-%%DOCSDIR%%/html/statusmonitor.html
-%%DOCSDIR%%/html/tc35.gif
-%%DOCSDIR%%/html/thanks.html
-%%DOCSDIR%%/html/twist.gif
-%%DOCSDIR%%/html/windows.html
-%%DOCSDIR%%/html/thanks.gif
-%%DOCSDIR%%/html/alarmhandler.html
-%%DOCSDIR%%/html/shippingdetails.html
-%%DOCSDIR%%/license.txt
-%%DOCSDIR%%/manual.html
-
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/status.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/eventhandler.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/logfile.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/modem.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/move_l.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/move_r.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/page1.html
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/page2.html
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/page3.html
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/page4.html
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/page5.html
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/page6.html
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/page7.html
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/page8.html
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/queue.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/sms.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/statistic.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/slideshow/blacklist.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/blacklist.html
+%%PORTDOCS%%%%DOCSDIR%%/html/book.html
+%%PORTDOCS%%%%DOCSDIR%%/html/butterfly.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/compiling.html
+%%PORTDOCS%%%%DOCSDIR%%/html/configure.html
+%%PORTDOCS%%%%DOCSDIR%%/html/configure2.html
+%%PORTDOCS%%%%DOCSDIR%%/html/contact.html
+%%PORTDOCS%%%%DOCSDIR%%/html/costs.html
+%%PORTDOCS%%%%DOCSDIR%%/html/download.html
+%%PORTDOCS%%%%DOCSDIR%%/html/email.png
+%%PORTDOCS%%%%DOCSDIR%%/html/book.html~
+%%PORTDOCS%%%%DOCSDIR%%/html/eventhandler.html
+%%PORTDOCS%%%%DOCSDIR%%/html/faq.html
+%%PORTDOCS%%%%DOCSDIR%%/html/fileformat.html
+%%PORTDOCS%%%%DOCSDIR%%/html/gpl.html
+%%PORTDOCS%%%%DOCSDIR%%/html/gpl_de.html
+%%PORTDOCS%%%%DOCSDIR%%/html/gsmmodem.html
+%%PORTDOCS%%%%DOCSDIR%%/html/hardwarecomp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/history.html
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html~
+%%PORTDOCS%%%%DOCSDIR%%/html/key.png
+%%PORTDOCS%%%%DOCSDIR%%/html/license.html
+%%PORTDOCS%%%%DOCSDIR%%/html/links.html
+%%PORTDOCS%%%%DOCSDIR%%/html/logging.html
+%%PORTDOCS%%%%DOCSDIR%%/html/mnp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/news.html
+%%PORTDOCS%%%%DOCSDIR%%/html/public_key_stefan_frings.txt
+%%PORTDOCS%%%%DOCSDIR%%/html/quotes.html
+%%PORTDOCS%%%%DOCSDIR%%/html/redundancy.html
+%%PORTDOCS%%%%DOCSDIR%%/html/referenzen.html
+%%PORTDOCS%%%%DOCSDIR%%/html/run.html
+%%PORTDOCS%%%%DOCSDIR%%/html/softwarecomp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/sql.html
+%%PORTDOCS%%%%DOCSDIR%%/html/sql2.html
+%%PORTDOCS%%%%DOCSDIR%%/html/statformat.html
+%%PORTDOCS%%%%DOCSDIR%%/html/statusmonitor.html
+%%PORTDOCS%%%%DOCSDIR%%/html/tc35.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/thanks.html
+%%PORTDOCS%%%%DOCSDIR%%/html/twist.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/windows.html
+%%PORTDOCS%%%%DOCSDIR%%/html/thanks.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/alarmhandler.html
+%%PORTDOCS%%%%DOCSDIR%%/html/shippingdetails.html
+%%PORTDOCS%%%%DOCSDIR%%/html/book.jpg
+%%PORTDOCS%%%%DOCSDIR%%/html/bugs.html
+%%PORTDOCS%%%%DOCSDIR%%/html/compiling.html~
+%%PORTDOCS%%%%DOCSDIR%%/html/download.html~
+%%PORTDOCS%%%%DOCSDIR%%/html/european.html
+%%PORTDOCS%%%%DOCSDIR%%/html/hardwarecomp.html~
+%%PORTDOCS%%%%DOCSDIR%%/html/history.html~
+%%PORTDOCS%%%%DOCSDIR%%/html/postpaid.html
+%%PORTDOCS%%%%DOCSDIR%%/html/shippingdetails.html~
+%%PORTDOCS%%%%DOCSDIR%%/html/whypaypal.html
+%%PORTDOCS%%%%DOCSDIR%%/html/windows.html~
+%%PORTDOCS%%%%DOCSDIR%%/license.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual.html
@dirrm %%EXAMPLESDIR%%
-@dirrm %%DOCSDIR%%/html/slideshow
-@dirrm %%DOCSDIR%%/html
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/slideshow
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%