aboutsummaryrefslogtreecommitdiff
path: root/mail/balsa/Makefile
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2014-05-30 15:35:19 +0000
committerKoop Mast <kwm@FreeBSD.org>2014-05-30 15:35:19 +0000
commit578a85c2784c20cf7f5e77f93296c4259cbb808d (patch)
treeb09de49859171b63badcaf09d1f80c7c14f8d5d3 /mail/balsa/Makefile
parentfc7a37641bc97dcd261be9165649048dad7ab5a3 (diff)
downloadports-578a85c2784c20cf7f5e77f93296c4259cbb808d.tar.gz
ports-578a85c2784c20cf7f5e77f93296c4259cbb808d.zip
Notes
Diffstat (limited to 'mail/balsa/Makefile')
-rw-r--r--mail/balsa/Makefile110
1 files changed, 37 insertions, 73 deletions
diff --git a/mail/balsa/Makefile b/mail/balsa/Makefile
index 508bdc9111d9..dce39b13226c 100644
--- a/mail/balsa/Makefile
+++ b/mail/balsa/Makefile
@@ -1,95 +1,59 @@
# Created by: Glenn Johnson <gljohns@bellsouth.net>
# $FreeBSD$
-# $MCom: ports-stable/mail/balsa/Makefile,v 1.3 2007/12/02 19:18:50 marcus Exp $
+# $MCom$
PORTNAME= balsa
-PORTVERSION= 2.4.8
-PORTREVISION= 7
+PORTVERSION= 2.5.1
CATEGORIES= mail gnome
MASTER_SITES= http://pawsa.fedorapeople.org/balsa/
-DISTNAME= balsa-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
-COMMENT= A mail reader for the GNOME 2 desktop
-
-LIB_DEPENDS= aspell:${PORTSDIR}/textproc/aspell \
- pcre:${PORTSDIR}/devel/pcre \
- esmtp:${PORTSDIR}/mail/libesmtp \
- gmime-2.4:${PORTSDIR}/mail/gmime24 \
- gnome-keyring:${PORTSDIR}/security/gnome-keyring \
- canberra-gtk:${PORTSDIR}/audio/libcanberra
-
-USE_BZIP2= yes
-INSTALLS_OMF= yes
+COMMENT= Mail reader for the GNOME desktop
+
+BUILD_DEPENDS= gnome-keyring:${PORTSDIR}/security/gnome-keyring \
+ itstool:${PORTSDIR}/textproc/itstool \
+ yelp-tools>=0:${PORTSDIR}/textproc/yelp-tools
+LIB_DEPENDS= libaspell.so:${PORTSDIR}/textproc/aspell \
+ libpcre.so:${PORTSDIR}/devel/pcre \
+ libesmtp.so:${PORTSDIR}/mail/libesmtp \
+ libgmime-2.6.so:${PORTSDIR}/mail/gmime26 \
+ libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3
+RUN_DEPENDS= gnome-keyring:${PORTSDIR}/security/gnome-keyring
+
+# Depends on gtkhtml4 (which is being abandonend). When our webkitgtk3
+# in ports gets updated to > 1.10.x, balsa should depend on it.
+USES= desktop-file-utils gettext gmake iconv pathfix \
+ perl5 pkgconfig tar:bzip2
+USE_GNOME= gnomeprefix gtkhtml4 intlhack libxslt
INSTALLS_ICONS= yes
USE_OPENSSL= yes
-USES= pathfix gettext iconv perl5 pkgconfig gmake
-USE_GNOME= gnomeprefix intlhack libgnomeui gtkhtml3 \
- libgnomeprintui
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-threads \
--disable-more-warnings \
--with-ssl \
--without-nm \
+ --with-html-widget=gtkhtml4 \
+ --with-gmime=2.6 \
--with-canberra
-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${ICONV_LIB} ${PTHREAD_LIBS}"
-CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-
-MAN1= balsa.1
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
+OPTIONS_SUB= yes
OPTIONS_DEFINE= LDAP GTKSPELL GTKSV NOTIFY GPG
OPTIONS_DEFAULT=LDAP GTKSPELL GTKSV NOTIFY
GTKSPELL_DESC= Spell checking support
GTKSV_DESC= GtkSourceview support
GPG_DESC= GnuPG support
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGPG}
-LIB_DEPENDS+= gpgme:${PORTSDIR}/security/gpgme
-CONFIGURE_ARGS+= --with-gpgme=${LOCALBASE}/bin/gpgme-config
-.endif
-
-.if ${PORT_OPTIONS:MLDAP}
-USE_OPENLDAP= yes
-CONFIGURE_ARGS+= --with-ldap
-.endif
-
-.if ${PORT_OPTIONS:MGTKSPELL}
-LIB_DEPENDS+= gtkspell:${PORTSDIR}/textproc/gtkspell
-CONFIGURE_ARGS+=--with-gtkspell
-.endif
-
-.if ${PORT_OPTIONS:MGTKSV}
-USE_GNOME+= gtksourceview2
-CONFIGURE_ARGS+=--with-gtksourceview=2
-.endif
-
-.if ${PORT_OPTIONS:MNOTIFY}
-LIB_DEPENDS+= notify:${PORTSDIR}/devel/libnotify
-CONFIGURE_ARGS+=--with-libnotify=yes
-.else
-CONFIGURE_ARGS+=--with-libnotify=no
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${PREFIX}==${LOCALBASE}
-PLIST_SUB+= GTKICON="@comment "
-.else
-PLIST_SUB+= GTKICON=""
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|g' \
- ${WRKSRC}/libbalsa/mailbox_imap.c
-# PREFIX safeness
- @${REINPLACE_CMD} -E \
- -e 's|^(HICOLOR_ICON_DIR)[^/]+/|\1=${PREFIX}/|' \
- ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
- @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
- 's|-D.*_DISABLE_DEPRECATED_SOURCE||g ; s|-D.*_DISABLE_DEPRECATED||g'
-
-.include <bsd.port.post.mk>
+GPG_CONFIGURE_WITH= gpgme
+GPG_LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme
+LDAP_USE= OPENLDAP=yes
+LDAP_CONFIGURE_WITH= ldap
+LDAP_LIB_DEPENDS= libldap.so:${PORTSDIR}/net/openldap24-client
+GTKSPELL_CONFIGURE_WITH= gtkspell
+GTKSPELL_LIB_DEPENDS= libgtkspell3-3.so:${PORTSDIR}/textproc/gtkspell3
+GTKSV_USE= GNOME=gtksourceview3
+GTKSV_CONFIGURE_WITH= gtksourceview
+NOTIFY_CONFIGURE_WITH= libnotify
+NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify
+
+.include <bsd.port.mk>