summaryrefslogtreecommitdiff
path: root/mail/sylpheed
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2004-07-13 15:14:22 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2004-07-13 15:14:22 +0000
commitdd331a2aa4885a827e26a476cc5c6554d473ee33 (patch)
tree754aea82efe12240e4ecdfd10007aea24e39a93e /mail/sylpheed
parentUpdate to 0.03.01 (diff)
fetch & Install sylpheed-mime.types to send attached Files with a propper
mime-type declaration. Noted By: Bill Moran <wmoran@potentialtech.com>
Notes
Notes: svn path=/head/; revision=113557
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