Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2014 08:35:28 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347721 - head/mail/mail-notification
Message-ID:  <201403100835.s2A8ZSA2037701@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Mon Mar 10 08:35:28 2014
New Revision: 347721
URL: http://svnweb.freebsd.org/changeset/ports/347721
QAT: https://qat.redports.org/buildarchive/r347721/

Log:
  - Remove optional dependency on expired mail/fetchyahoo
  - Bump PORTREVISION because fetchyahoo option was default on
  - Stage support
  - Use new LIB_DEPENDS syntax
  - Respect DATADIR
  - Remove check for FreeBSD < 7
  
  Approved by:	portmgr (infrastructure blanket)

Modified:
  head/mail/mail-notification/Makefile
  head/mail/mail-notification/pkg-plist

Modified: head/mail/mail-notification/Makefile
==============================================================================
--- head/mail/mail-notification/Makefile	Mon Mar 10 08:28:36 2014	(r347720)
+++ head/mail/mail-notification/Makefile	Mon Mar 10 08:35:28 2014	(r347721)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mail-notification
 DISTVERSION=	5.4
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	mail ipv6
 MASTER_SITES=	${MASTER_SITE_SAVANNAH}
 MASTER_SITE_SUBDIR=	mailnotify
@@ -11,9 +11,9 @@ MASTER_SITE_SUBDIR=	mailnotify
 MAINTAINER=	mwisnicki+freebsd@gmail.com
 COMMENT=	A mail notification for freedesktop.org-compliant system trays
 
-LIB_DEPENDS=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
-		gnome-keyring:${PORTSDIR}/security/gnome-keyring \
-		notify:${PORTSDIR}/devel/libnotify
+LIB_DEPENDS=	libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
+		libgnome-keyring.so:${PORTSDIR}/security/gnome-keyring \
+		libnotify.so:${PORTSDIR}/devel/libnotify
 
 USE_BZIP2=	yes
 USES=		gettext
@@ -21,16 +21,16 @@ USE_LDCONFIG=	yes
 USE_GNOME=	gconf2 gnomeprefix gnomevfs2 libglade2 libgnomeui libxml2
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-JB_CONF_ARGS=	cc="${CC}" cflags="${CFLAGS}" cppflags="${CPPFLAGS}" ldflags="${LDFLAGS}" prefix="${PREFIX}"
+JB_CONF_ARGS=	cc="${CC}" cflags="${CFLAGS}" cppflags="${CPPFLAGS}" ldflags="${LDFLAGS}" prefix="${STAGEDIR}${PREFIX}"
 JB_CONF_ENV=	jb_cppflags="${CPPFLAGS}" jb_ldflags="${LDFLAGS}"
 GCONF_SCHEMAS=	mail-notification.schemas
 INSTALLS_OMF=	yes
 INSTALLS_ICONS=	yes
 
 OPTIONS_DEFINE=	EVOLUTION GMAIL HOTMAIL IMAP MAILDIR MBOX MH MOZILLA \
-		POP3 SASL SSL SYLPHEED YAHOO
+		POP3 SASL SSL SYLPHEED
 OPTIONS_DEFAULT=	GMAIL HOTMAIL IMAP MAILDIR MBOX MH MOZILLA \
-			POP3 SASL SSL SYLPHEED YAHOO
+			POP3 SASL SSL SYLPHEED
 EVOLUTION_DESC=	Evolution support
 GMAIL_DESC=	Gmail support
 HOTMAIL_DESC=	Windows Live Hotmail support
@@ -41,9 +41,7 @@ MH_DESC=	MH support
 MOZILLA_DESC=	Mozilla products support
 POP3_DESC=	POP3 support
 SYLPHEED_DESC=	Sylpheed support
-YAHOO_DESC=	Yahoo! Mail support
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ! ${PORT_OPTIONS:MMBOX}
@@ -79,13 +77,7 @@ PLIST_SUB+=	HOTMAIL="@comment "
 RUN_DEPENDS+=	getlive:${PORTSDIR}/mail/getlive
 PLIST_SUB+=	HOTMAIL=""
 .endif
-.if ! ${PORT_OPTIONS:MYAHOO}
 JB_CONF_ARGS+=	yahoo=no
-PLIST_SUB+=	YAHOO="@comment "
-.else
-RUN_DEPENDS+=	fetchyahoo:${PORTSDIR}/mail/fetchyahoo
-PLIST_SUB+=	YAHOO=""
-.endif
 .if ! ${PORT_OPTIONS:MEVOLUTION}
 JB_CONF_ARGS+=	evolution=no
 PLIST_SUB+=	EVOLUTION="@comment "
@@ -109,9 +101,8 @@ JB_CONF_ARGS+=	sylpheed=no
 	|| ${PORT_OPTIONS:MIMAP} \
 	|| ${PORT_OPTIONS:MMOZILLA} \
 	|| ${PORT_OPTIONS:MSYLPHEED} \
-	|| ${PORT_OPTIONS:MHOTMAIL} \
-	|| ${PORT_OPTIONS:MYAHOO}
-LIB_DEPENDS+=	gmime-2.0.4:${PORTSDIR}/mail/gmime2
+	|| ${PORT_OPTIONS:MHOTMAIL}
+LIB_DEPENDS+=	libgmime-2.0.so:${PORTSDIR}/mail/gmime2
 .endif
 .if ! ${PORT_OPTIONS:MSSL}
 JB_CONF_ARGS+=	ssl=no
@@ -121,14 +112,11 @@ USE_OPENSSL=	yes
 .if ! ${PORT_OPTIONS:MSASL}
 JB_CONF_ARGS+=	sasl=no
 .else
-LIB_DEPENDS+=	sasl2:${PORTSDIR}/security/cyrus-sasl2
+LIB_DEPENDS+=	libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
 .endif
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/jb ${WRKSRC}/jbsrc/jb.c
-.if ${OSVERSION} < 700042
-	@${REINPLACE_CMD} -e "s,-Wno-pointer-sign,," ${WRKSRC}/jb
-.endif
 
 do-configure:
 	cd ${WRKSRC} && ${JB_CONF_ENV} ./jb configure ${JB_CONF_ARGS}

Modified: head/mail/mail-notification/pkg-plist
==============================================================================
--- head/mail/mail-notification/pkg-plist	Mon Mar 10 08:28:36 2014	(r347720)
+++ head/mail/mail-notification/pkg-plist	Mon Mar 10 08:35:28 2014	(r347721)
@@ -5,13 +5,12 @@ share/gnome/help/mail-notification/C/doc
 share/gnome/help/mail-notification/C/figures/mail.png
 share/gnome/help/mail-notification/C/mail-notification.xml
 share/gnome/help/mail-notification/C/software-license.xml
-%%GMAIL%%share/mail-notification/gmail.png
-%%HOTMAIL%%share/mail-notification/hotmail.png
-share/mail-notification/logo.png
-share/mail-notification/new-mail.wav
-%%YAHOO%%share/mail-notification/yahoo.png
-share/mail-notification/mailbox-properties-dialog.glade
-share/mail-notification/properties-dialog.glade
+%%GMAIL%%%%DATADIR%%/gmail.png
+%%HOTMAIL%%%%DATADIR%%/hotmail.png
+%%DATADIR%%/logo.png
+%%DATADIR%%/new-mail.wav
+%%DATADIR%%/mailbox-properties-dialog.glade
+%%DATADIR%%/properties-dialog.glade
 share/omf/mail-notification/mail-notification-C.omf
 share/icons/hicolor/16x16/apps/mail-notification.png
 share/icons/hicolor/22x22/apps/mail-notification.png
@@ -37,7 +36,7 @@ share/locale/sv/LC_MESSAGES/mail-notific
 %%EVOLUTION%%lib/evolution/%%EVO_VERSION%%/plugins/liborg-jylefort-mail-notification.so
 %%EVOLUTION%%lib/evolution/%%EVO_VERSION%%/plugins/org-jylefort-mail-notification.eplug
 @dirrm share/omf/mail-notification
-@dirrm share/mail-notification
+@dirrm %%DATADIR%%
 @dirrm share/gnome/help/mail-notification/C/figures
 @dirrm share/gnome/help/mail-notification/C
 @dirrm share/gnome/help/mail-notification



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