diff options
author | netchild <netchild@FreeBSD.org> | 2004-05-19 22:36:11 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2004-05-19 22:36:11 +0800 |
commit | 09369624de1f585a07bd2c71c5472d7cebac0fc2 (patch) | |
tree | 860ab7ca66de83441e3033acea324319a336507f /mail/sylpheed-claws | |
parent | ab59523d6556309bf25538c92c4c7dce7ad93c2a (diff) | |
download | freebsd-ports-graphics-09369624de1f585a07bd2c71c5472d7cebac0fc2.tar.gz freebsd-ports-graphics-09369624de1f585a07bd2c71c5472d7cebac0fc2.tar.zst freebsd-ports-graphics-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/sylpheed-claws')
-rw-r--r-- | mail/sylpheed-claws/Makefile | 5 | ||||
-rw-r--r-- | mail/sylpheed-claws/pkg-message | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/mail/sylpheed-claws/Makefile b/mail/sylpheed-claws/Makefile index e25cff544e3..5bb3091845e 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 00000000000..ecb28518304 --- /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. +*************************************************************************** |