Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2014 23:13:00 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371528 - in head/mail: claws-mail claws-mail-fancy claws-mail-spamreport claws-mail/files
Message-ID:  <201410262313.s9QND07n084178@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Oct 26 23:13:00 2014
New Revision: 371528
URL: https://svnweb.freebsd.org/changeset/ports/371528
QAT: https://qat.redports.org/buildarchive/r371528/

Log:
  Update Claws Mail and plugins to 3.11.0 release
  
  mail/claws-mail:
  - Convert to USES=execinfo shebangfix
  - Use path independent (BUILD|RUN)_DEPENDS
  
  Release notes: http://claws-mail.org/news.php

Deleted:
  head/mail/claws-mail/files/patch-Makefile.in
Modified:
  head/mail/claws-mail-fancy/Makefile
  head/mail/claws-mail-spamreport/Makefile
  head/mail/claws-mail/Makefile
  head/mail/claws-mail/Makefile.claws
  head/mail/claws-mail/distinfo
  head/mail/claws-mail/pkg-plist

Modified: head/mail/claws-mail-fancy/Makefile
==============================================================================
--- head/mail/claws-mail-fancy/Makefile	Sun Oct 26 22:40:40 2014	(r371527)
+++ head/mail/claws-mail-fancy/Makefile	Sun Oct 26 23:13:00 2014	(r371528)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	fancy
-PORTREVISION=	1
+PORTREVISION=	0
 
 COMMENT=	Webkit based HTML renderer plugin for Claws Mail
 

Modified: head/mail/claws-mail-spamreport/Makefile
==============================================================================
--- head/mail/claws-mail-spamreport/Makefile	Sun Oct 26 22:40:40 2014	(r371527)
+++ head/mail/claws-mail-spamreport/Makefile	Sun Oct 26 23:13:00 2014	(r371528)
@@ -9,5 +9,4 @@ COMMENT=	Spam report plugin for Claws Ma
 CLAWS_PLUGINS_BUILD=	spam_report
 
 .include "../claws-mail/Makefile.claws"
-PLIST_FILES:=	${PLIST_FILES:S|spam_report|spamreport|g}
 .include <bsd.port.mk>

Modified: head/mail/claws-mail/Makefile
==============================================================================
--- head/mail/claws-mail/Makefile	Sun Oct 26 22:40:40 2014	(r371527)
+++ head/mail/claws-mail/Makefile	Sun Oct 26 23:13:00 2014	(r371528)
@@ -2,44 +2,38 @@
 # $FreeBSD$
 
 PORTNAME=	claws-mail
-PORTREVISION=	5
 CATEGORIES=	mail news ipv6
 
 COMMENT=	Lightweight and featureful GTK+ based e-mail and news client
 
-LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
-		libetpan.so:${PORTSDIR}/mail/libetpan \
+LIB_DEPENDS=	libetpan.so:${PORTSDIR}/mail/libetpan \
 		libgnutls.so:${PORTSDIR}/security/gnutls \
 		libgcrypt.so:${PORTSDIR}/security/libgcrypt
-RUN_DEPENDS=	${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
+RUN_DEPENDS=	mime-support>0:${PORTSDIR}/misc/mime-support
 
 USE_GNOME=	gtk20
-USES=		desktop-file-utils pathfix
+USES=		desktop-file-utils execinfo pathfix shebangfix
+SHEBANG_FILES=	tools/*.pl tools/tb2claws-mail
 INSTALLS_ICONS=	yes
 
 OPTIONS_DEFINE=	COMPFACE DEBUG DOCS ENCHANT IPV6 JPILOT LDAP \
 		MANUAL NLS STARTUP THEMES
+OPTIONS_DEFAULT=COMPFACE ENCHANT MANUAL STARTUP THEMES
 OPTIONS_SUB=	yes
 
 COMPFACE_DESC=		X-Face support
-ENCHANT_DESC=		Spell checking support
-JPILOT_DESC=		JPilot support
-MANUAL_DESC=		User manual
-STARTUP_DESC=		Startup notification support
-THEMES_DESC=		Additional themes
-
-OPTIONS_DEFAULT=	COMPFACE ENCHANT MANUAL STARTUP THEMES
-
 COMPFACE_CONFIGURE_ENABLE=	compface
 COMPFACE_LIB_DEPENDS=	libcompface.so:${PORTSDIR}/mail/faces
 
 DEBUG_CONFIGURE_ON=	--enable-maintainer-mode
 
+ENCHANT_DESC=		Spell checking support
 ENCHANT_CONFIGURE_ENABLE=	enchant
 ENCHANT_LIB_DEPENDS=	libenchant.so:${PORTSDIR}/textproc/enchant
 
 IPV6_CONFIGURE_ENABLE=	ipv6
 
+JPILOT_DESC=		JPilot support
 JPILOT_CONFIGURE_ENABLE=	jpilot
 JPILOT_LIB_DEPENDS=	libpisock.so:${PORTSDIR}/palm/pilot-link
 JPILOT_RUN_DEPENDS=	jpilot:${PORTSDIR}/palm/jpilot
@@ -47,17 +41,20 @@ JPILOT_RUN_DEPENDS=	jpilot:${PORTSDIR}/p
 LDAP_CONFIGURE_ENABLE=	ldap
 LDAP_USE=		openldap=yes
 
+MANUAL_DESC=		User manual
 MANUAL_CONFIGURE_ON=	--enable-manual --with-manualdir=${DOCSDIR}/manual
 MANUAL_CONFIGURE_OFF=	--disable-manual
-MANUAL_BUILD_DEPENDS=	${LOCALBASE}/bin/docbook2html:${PORTSDIR}/textproc/docbook-utils
+MANUAL_BUILD_DEPENDS=	docbook-utils>0:${PORTSDIR}/textproc/docbook-utils
 
 NLS_CONFIGURE_OFF=	--disable-nls
 NLS_USES=		gettext
 
+STARTUP_DESC=		Startup notification support
 STARTUP_CONFIGURE_ENABLE=	startup-notification
 STARTUP_LIB_DEPENDS=	libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
 
-THEMES_RUN_DEPENDS=	${LOCALBASE}/share/claws-mail/themes/ZX-0_1.1/down_arrow.xpm:${PORTSDIR}/x11-themes/claws-mail-themes
+THEMES_DESC=		Additional themes
+THEMES_RUN_DEPENDS=	claws-mail-themes>0:${PORTSDIR}/x11-themes/claws-mail-themes
 
 .include "Makefile.claws"
 
@@ -68,17 +65,14 @@ post-patch:
 		${WRKSRC}/src/procmime.c
 	@${REINPLACE_CMD} -e "/(GPGME_LIBS)/d" \
 		${WRKSRC}/src/Makefile.in
-	@for f in `${FIND} ${WRKSRC}/tools -type f -print`; do \
-		${REINPLACE_CMD} -e "s|/usr/bin/perl|${PERL}|" $$f; done
+	@${REINPLACE_CMD} '/^itlocaledir/ s|prefix)/$$(DATADIRNAME|datarootdir|' \
+		${WRKSRC}/po/Makefile.in.in
 
 post-install:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for i in NEWS RELEASE_NOTES README TODO
-	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
-.endfor
+	(cd ${WRKSRC} && ${INSTALL_DATA} NEWS README TODO ${STAGEDIR}${DOCSDIR})
 	${INSTALL_DATA} ${WRKSRC}/tools/README ${STAGEDIR}${DOCSDIR}/README.tools
 	@${MKDIR} ${STAGEDIR}${DATADIR}
-	cd ${WRKSRC}/tools && \
+	(cd ${WRKSRC}/tools && \
 		${INSTALL_SCRIPT} OOo2claws-mail.pl acroread2claws-mail.pl \
 		calypso_convert.pl convert_mbox.pl eud2gc.py filter_conv.pl \
 		filter_conv_new.pl fix_date.sh freshmeat_search.pl \
@@ -88,6 +82,6 @@ post-install:
 		nautilus2claws-mail.sh outlook2claws-mail.pl tb2claws-mail \
 		tbird2claws.py textviewer.pl textviewer.sh \
 		thunderbird-filters-convertor.pl uudec uuooffice vcard2xml.py \
-		${STAGEDIR}${DATADIR}
+		${STAGEDIR}${DATADIR})
 
 .include <bsd.port.mk>

Modified: head/mail/claws-mail/Makefile.claws
==============================================================================
--- head/mail/claws-mail/Makefile.claws	Sun Oct 26 22:40:40 2014	(r371527)
+++ head/mail/claws-mail/Makefile.claws	Sun Oct 26 23:13:00 2014	(r371528)
@@ -1,6 +1,6 @@
 # $FreeBSD$
 
-PORTVERSION=	3.10.1
+PORTVERSION=	3.11.0
 CATEGORIES?=	mail
 MASTER_SITES=	SF/claws-mail/Claws%20Mail/${PORTVERSION}
 
@@ -59,19 +59,24 @@ FILESDIR=	${.CURDIR}/files
 PLIST=		${NONEXISTENT}
 PKGMESSAGE=	${.CURDIR}/pkg-message
 
+CONFIGURE_ARGS+=	--disable-nls
+
 .  for p in ${CLAWS_PLUGINS_BUILD}
 CONFIGURE_ARGS:=	${CONFIGURE_ARGS:S|--disable-${p}-plugin||}
-PLIST_FILES+=	lib/claws-mail/plugins/${p}.so
+PLIST_FILES+=	lib/claws-mail/plugins/${p:S|spam_|spam|}.so
 .  endfor
 
 do-build:
 .  for p in ${CLAWS_PLUGINS_BUILD}
-	cd ${WRKSRC}/src/plugins/${p} && ${MAKE_CMD}
+	(cd ${WRKSRC}/src/plugins/${p} && ${MAKE_CMD})
 .  endfor
 
 do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/claws-mail/plugins
 .  for p in ${CLAWS_PLUGINS_BUILD}
-	cd ${WRKSRC}/src/plugins/${p} && ${MAKE_CMD} install DESTDIR="${STAGEDIR}"
+	(cd ${WRKSRC}/src/plugins/${p} && \
+		${INSTALL_LIB} .libs/${p:S|spam_|spam|}.so \
+		${STAGEDIR}${PREFIX}/lib/claws-mail/plugins)
 .  endfor
 
 .endif

Modified: head/mail/claws-mail/distinfo
==============================================================================
--- head/mail/claws-mail/distinfo	Sun Oct 26 22:40:40 2014	(r371527)
+++ head/mail/claws-mail/distinfo	Sun Oct 26 23:13:00 2014	(r371528)
@@ -1,2 +1,2 @@
-SHA256 (claws-mail-3.10.1.tar.xz) = 4cb7c42995b1a5d7567a0909ce2080c05eec74a4d966da7a7a872f5eba018459
-SIZE (claws-mail-3.10.1.tar.xz) = 6669376
+SHA256 (claws-mail-3.11.0.tar.xz) = bf953c3448a711c31a83ef3d0b469f59b02124a26ab3aa964113f728eb2a61c4
+SIZE (claws-mail-3.11.0.tar.xz) = 5902048

Modified: head/mail/claws-mail/pkg-plist
==============================================================================
--- head/mail/claws-mail/pkg-plist	Sun Oct 26 22:40:40 2014	(r371527)
+++ head/mail/claws-mail/pkg-plist	Sun Oct 26 23:13:00 2014	(r371528)
@@ -247,7 +247,6 @@ lib/claws-mail/plugins/pgpmime.deps
 lib/claws-mail/plugins/smime.deps
 libdata/pkgconfig/claws-mail.pc
 man/man1/claws-mail.1.gz
-share/appdata/claws-mail.appdata.xml
 share/applications/claws-mail.desktop
 %%DATADIR%%/OOo2claws-mail.pl
 %%DATADIR%%/acroread2claws-mail.pl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410262313.s9QND07n084178>