aboutsummaryrefslogtreecommitdiffstats
path: root/mail/claws-mail
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2004-05-19 22:36:11 +0800
committernetchild <netchild@FreeBSD.org>2004-05-19 22:36:11 +0800
commit09369624de1f585a07bd2c71c5472d7cebac0fc2 (patch)
tree860ab7ca66de83441e3033acea324319a336507f /mail/claws-mail
parentab59523d6556309bf25538c92c4c7dce7ad93c2a (diff)
downloadfreebsd-ports-gnome-09369624de1f585a07bd2c71c5472d7cebac0fc2.tar.gz
freebsd-ports-gnome-09369624de1f585a07bd2c71c5472d7cebac0fc2.tar.zst
freebsd-ports-gnome-09369624de1f585a07bd2c71c5472d7cebac0fc2.zip
Add a pkg-message which suggests to use a mime.types file for better
MIME types for attached files. Suggested by: Ion-Mihai Tetcu <itetcu@apropo.ro>
Diffstat (limited to 'mail/claws-mail')
-rw-r--r--mail/claws-mail/Makefile5
-rw-r--r--mail/claws-mail/pkg-message10
2 files changed, 14 insertions, 1 deletions
diff --git a/mail/claws-mail/Makefile b/mail/claws-mail/Makefile
index e25cff544e3c..5bb3091845e6 100644
--- a/mail/claws-mail/Makefile
+++ b/mail/claws-mail/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sylpheed-claws
PORTVERSION= 0.9.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sylpheed-claws
@@ -15,6 +15,7 @@ DISTNAME= sylpheed-${PORTVERSION}claws
DISTFILES= ${EXTRACT_ONLY} \
${THEMEFILE}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+PKGMESSAGE= ${WRKDIR}/pkg-message
MAINTAINER= netchild@FreeBSD.org
COMMENT= A lightweight and very featureful GTK+ based e-mail and news client
@@ -159,6 +160,7 @@ post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|src manual faq tools|src tools|' ${WRKSRC}/Makefile.in
.endif
+ @${SED} -e 's:%%PREFIX%%:${PREFIX}:g' ${PKGDIR}/pkg-message >${PKGMESSAGE}
post-install:
.if !defined(NOPORTDOCS)
@@ -189,5 +191,6 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/tools/sylprint.rc ${PREFIX}/etc/sylprint.rc.example
@${MKDIR} ${PREFIX}/share/pixmaps
@${INSTALL_DATA} ${WRKSRC}/sylpheed.png ${PREFIX}/share/pixmaps/sylpheed-claws.png
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/mail/claws-mail/pkg-message b/mail/claws-mail/pkg-message
new file mode 100644
index 000000000000..ecb285183047
--- /dev/null
+++ b/mail/claws-mail/pkg-message
@@ -0,0 +1,10 @@
+***************************************************************************
+To have better suggestions for your MIME types while attaching a file
+to a mail you should setup a %%PREFIX%%/etc/mime.types file.
+Alternatively/additionally your users can setup a ${HOME}/.mime.types
+file.
+
+If you do not know how to do that or if you do not want to invest your
+time in writting one: a good mime.types file is included with the
+Apache webserver.
+***************************************************************************
e, and bump all affected ports' PORTREVISIONs.marcus2004-04-051-1/+1 * Chase the new location of libXft.marcus2004-03-171-1/+1 * Try to make this bento-pure: as discovered by Munish Chopra, theretrevor2004-02-171-7/+4 * BROKEN: Does not install. This port is scheduled to be removed on April 16kris2004-02-171-0/+4 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * Add size data.trevor2004-01-281-0/+1 * Use PAX macro.trevor2004-01-221-1/+1 * Update to 3.1.trevor2004-01-162-2/+6 * Update to 3.0.trevor2003-11-212-12/+19 * Attempt to create and delete share/gnome/wm-properties/.trevor2003-11-201-5/+5 * Install pkg-config files needed by obconf.trevor2003-10-141-0/+8 * Update to 3.0-rc4.trevor2003-10-142-17/+32 * Install libobparser and libobrender shared libraries.trevor2003-09-241-0/+13 * Add forgotten dependencies on glib 2.X and libxml 2.X.trevor2003-09-241-0/+1 * Update to 3.0-beta1.trevor2003-09-088-332/+58 * I haven't reviewed the sources for the new versions.trevor2003-05-221-0/+2