aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sylpheed3/Makefile
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2004-07-13 23:14:22 +0800
committeroliver <oliver@FreeBSD.org>2004-07-13 23:14:22 +0800
commit089daa79c5c97e3f000a570b290efe65459808f5 (patch)
treeae3afb7cd7555774b6d286d1c49c0b386084e370 /mail/sylpheed3/Makefile
parent871446eaf5a2a215c4ec6182d8131e28c264e444 (diff)
downloadfreebsd-ports-gnome-089daa79c5c97e3f000a570b290efe65459808f5.tar.gz
freebsd-ports-gnome-089daa79c5c97e3f000a570b290efe65459808f5.tar.zst
freebsd-ports-gnome-089daa79c5c97e3f000a570b290efe65459808f5.zip
fetch & Install sylpheed-mime.types to send attached Files with a propper
mime-type declaration. Noted By: Bill Moran <wmoran@potentialtech.com>
Diffstat (limited to 'mail/sylpheed3/Makefile')
-rw-r--r--mail/sylpheed3/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/mail/sylpheed3/Makefile b/mail/sylpheed3/Makefile
index 2e6d99cd35c5..3fd7bad99d17 100644
--- a/mail/sylpheed3/Makefile
+++ b/mail/sylpheed3/Makefile
@@ -9,9 +9,13 @@ PORTNAME= sylpheed
PORTVERSION= 0.9.12
PORTREVISION= 0
CATEGORIES= mail ipv6
-MASTER_SITES= http://sylpheed.good-day.net/sylpheed/ \
- ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= sylpheed-claws
+MASTER_SITES= ${MASTER_SITE_LOCAL:S/$/:mime/} \
+ http://sylpheed.good-day.net/sylpheed/:source \
+ ${MASTER_SITE_SOURCEFORGE:S/$/:source/}
+MASTER_SITE_SUBDIR= sylpheed-claws/:source oliver/:mime
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source mime.types:mime
+DIST_SUBDIR= sylpheed
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= oliver@FreeBSD.org
COMMENT= A lightweight, featureful, and fast GTK+ based e-mail client
@@ -102,6 +106,8 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \
s|-lresolv||g; s|-lpisock\"|-liconv &|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|mime\.types|sylpheed-mime\.types|g' \
+ ${WRKSRC}/src/procmime.c
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|^SUBDIRS = ac po intl src manual faq$$|SUBDIRS = ac po intl src|g' \
@@ -124,6 +130,7 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/${i}.jp ${DOCSDIR}
.endfor
+ @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/mime.types ${PREFIX}/etc/sylpheed-mime.types
.endif
.include <bsd.port.post.mk>