aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-06-21 06:57:15 +0800
committerwg <wg@FreeBSD.org>2013-06-21 06:57:15 +0800
commit984f6a4d84a3bd84b6d054821636656fc5b6af1d (patch)
tree06d16adb7d846d7be32580b6b79bfe6aece42a19 /mail
parent2b58eba9a8e7f6c8b0d46c8d61201e11cf4a6e91 (diff)
downloadfreebsd-ports-gnome-984f6a4d84a3bd84b6d054821636656fc5b6af1d.tar.gz
freebsd-ports-gnome-984f6a4d84a3bd84b6d054821636656fc5b6af1d.tar.zst
freebsd-ports-gnome-984f6a4d84a3bd84b6d054821636656fc5b6af1d.zip
mail/mail2sms: fix fetch
- Fix fetch [1] - Point WWW to new home in pkg-descr [1] - Rework DOCS option - Pass maintainership to submitter PR: ports/179770 [1] Submitted by: Jason Harris <jharris@widomaker.com>
Diffstat (limited to 'mail')
-rw-r--r--mail/mail2sms/Makefile17
-rw-r--r--mail/mail2sms/pkg-descr3
2 files changed, 8 insertions, 12 deletions
diff --git a/mail/mail2sms/Makefile b/mail/mail2sms/Makefile
index 16a69366b21c..1ed1a1948b1a 100644
--- a/mail/mail2sms/Makefile
+++ b/mail/mail2sms/Makefile
@@ -4,9 +4,10 @@
PORTNAME= mail2sms
PORTVERSION= 1.3.5
CATEGORIES= mail
-MASTER_SITES= http://www.contactor.se/~dast/stuff/
+MASTER_SITES= http://daniel.haxx.se/projects/mail2sms/ \
+ http://bitrote.org/distfiles/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= jharris@widomaker.com
COMMENT= Mail to SMS converter
GNU_CONFIGURE= yes
@@ -17,11 +18,9 @@ MAN5= mail2sms.5
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= README REGEX example.conf
-.endif
+
+.include <bsd.port.options.mk>
post-patch:
${CP} ${WRKSRC}/mail2sms.4 ${WRKSRC}/mail2sms.5
@@ -33,10 +32,8 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/${MAN5} ${PREFIX}/man/man5/
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_MAN} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/mail/mail2sms/pkg-descr b/mail/mail2sms/pkg-descr
index 44e50db32e9a..ee0758d88a6f 100644
--- a/mail/mail2sms/pkg-descr
+++ b/mail/mail2sms/pkg-descr
@@ -2,5 +2,4 @@ mail2sms converts a single (large) mail to a tiny text with contents
from the mail. Perfectly suitable to send as an SMS message to a
GSM telephone.
-WWW: http://www.contactor.se/~dast/mail2sms/
-WWW: http://sourceforge.net/projects/mail2sms/
+WWW: http://daniel.haxx.se/projects/mail2sms/