aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sylpheed
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/sylpheed
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/sylpheed')
-rw-r--r--mail/sylpheed/Makefile13
-rw-r--r--mail/sylpheed/distinfo6
-rw-r--r--mail/sylpheed/pkg-plist1
3 files changed, 15 insertions, 5 deletions
diff --git a/mail/sylpheed/Makefile b/mail/sylpheed/Makefile
index 2e6d99cd35c5..3fd7bad99d17 100644
--- a/mail/sylpheed/Makefile
+++ b/mail/sylpheed/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>
diff --git a/mail/sylpheed/distinfo b/mail/sylpheed/distinfo
index bbba8f83a90f..0da6641607e2 100644
--- a/mail/sylpheed/distinfo
+++ b/mail/sylpheed/distinfo
@@ -1,2 +1,4 @@
-MD5 (sylpheed-0.9.12.tar.bz2) = 5deab7d65f8e19444902be3d82610e6b
-SIZE (sylpheed-0.9.12.tar.bz2) = 2304925
+MD5 (sylpheed/sylpheed-0.9.12.tar.bz2) = 5deab7d65f8e19444902be3d82610e6b
+MD5 (sylpheed/mime.types) = 7c0563d85e2e830c0266d54517ad62e8
+SIZE (sylpheed/sylpheed-0.9.12.tar.bz2) = 2304925
+SIZE (sylpheed/mime.types) = 14979
diff --git a/mail/sylpheed/pkg-plist b/mail/sylpheed/pkg-plist
index 7a04dc2a0cd3..41571a5b3dcb 100644
--- a/mail/sylpheed/pkg-plist
+++ b/mail/sylpheed/pkg-plist
@@ -1,4 +1,5 @@
bin/sylpheed
+etc/sylpheed-mime.types
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.jp
%%PORTDOCS%%%%DOCSDIR%%/INSTALL