aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2004-05-19 14:36:11 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2004-05-19 14:36:11 +0000
commitb0ba9441c9217ccaa0ce09d20c311d8d61f59e08 (patch)
tree04af7555c1fdb7469281763f66d2ee2fbc0112c7 /mail
parent8e5aea1bea068e1eca70cc97a754ad9b07f3c352 (diff)
downloadports-b0ba9441c9217ccaa0ce09d20c311d8d61f59e08.tar.gz
ports-b0ba9441c9217ccaa0ce09d20c311d8d61f59e08.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>
Notes
Notes: svn path=/head/; revision=109507
Diffstat (limited to 'mail')
-rw-r--r--mail/claws-mail/Makefile5
-rw-r--r--mail/claws-mail/pkg-message10
-rw-r--r--mail/sylpheed-claws/Makefile5
-rw-r--r--mail/sylpheed-claws/pkg-message10
4 files changed, 28 insertions, 2 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.
+***************************************************************************
diff --git a/mail/sylpheed-claws/Makefile b/mail/sylpheed-claws/Makefile
index e25cff544e3c..5bb3091845e6 100644
--- a/mail/sylpheed-claws/Makefile
+++ b/mail/sylpheed-claws/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/sylpheed-claws/pkg-message b/mail/sylpheed-claws/pkg-message
new file mode 100644
index 000000000000..ecb285183047
--- /dev/null
+++ b/mail/sylpheed-claws/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.
+***************************************************************************