diff options
author | oliver <oliver@FreeBSD.org> | 2004-07-13 15:14:22 +0000 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2004-07-13 15:14:22 +0000 |
commit | 089daa79c5c97e3f000a570b290efe65459808f5 (patch) | |
tree | ae3afb7cd7555774b6d286d1c49c0b386084e370 /mail/sylpheed2-devel | |
parent | 871446eaf5a2a215c4ec6182d8131e28c264e444 (diff) | |
download | FreeBSD-ports-089daa79c5c97e3f000a570b290efe65459808f5.zip FreeBSD-ports-089daa79c5c97e3f000a570b290efe65459808f5.tar.gz |
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/sylpheed2-devel')
-rw-r--r-- | mail/sylpheed2-devel/Makefile | 13 | ||||
-rw-r--r-- | mail/sylpheed2-devel/distinfo | 6 | ||||
-rw-r--r-- | mail/sylpheed2-devel/pkg-plist | 1 |
3 files changed, 15 insertions, 5 deletions
diff --git a/mail/sylpheed2-devel/Makefile b/mail/sylpheed2-devel/Makefile index 2e6d99c..3fd7bad 100644 --- a/mail/sylpheed2-devel/Makefile +++ b/mail/sylpheed2-devel/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/sylpheed2-devel/distinfo b/mail/sylpheed2-devel/distinfo index bbba8f8..0da6641 100644 --- a/mail/sylpheed2-devel/distinfo +++ b/mail/sylpheed2-devel/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/sylpheed2-devel/pkg-plist b/mail/sylpheed2-devel/pkg-plist index 7a04dc2..41571a5 100644 --- a/mail/sylpheed2-devel/pkg-plist +++ b/mail/sylpheed2-devel/pkg-plist @@ -1,4 +1,5 @@ bin/sylpheed +etc/sylpheed-mime.types %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/ChangeLog.jp %%PORTDOCS%%%%DOCSDIR%%/INSTALL |