diff options
author | Koop Mast <kwm@FreeBSD.org> | 2013-03-19 10:40:22 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2013-03-19 10:40:22 +0000 |
commit | 2a3357182d8cb640f374f8c60b71b6c99ec43843 (patch) | |
tree | 7a5f4c1c91d14d9fcab2b30589db732cde4a3725 /mail/balsa | |
parent | Convert to optionsNG, switch to USES=pathfix. Remove RUN_DEPEND for (diff) |
Convert almost all gnome@ ports to OptionsNG, trim header, use USES=pathfix
instead of gnomehack and pet portlint.
Add conflicts with future gnome3 versions.
Reviewed by: miwi, bapt
Notes
Notes:
svn path=/head/; revision=314632
Diffstat (limited to 'mail/balsa')
-rw-r--r-- | mail/balsa/Makefile | 49 |
1 files changed, 23 insertions, 26 deletions
diff --git a/mail/balsa/Makefile b/mail/balsa/Makefile index e033715fbd04..a0fa6caba465 100644 --- a/mail/balsa/Makefile +++ b/mail/balsa/Makefile @@ -1,10 +1,6 @@ -# New ports collection makefile for: balsa -# Date created: 02 December 1998 -# Whom: Glenn Johnson <gljohns@bellsouth.net> -# +# 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 $ -# PORTNAME= balsa PORTVERSION= 2.4.8 @@ -16,12 +12,12 @@ DISTNAME= balsa-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= A mail reader for the GNOME 2 desktop -LIB_DEPENDS= aspell.16:${PORTSDIR}/textproc/aspell \ - pcre.3:${PORTSDIR}/devel/pcre \ - esmtp.7:${PORTSDIR}/mail/libesmtp \ - gmime-2.4.6:${PORTSDIR}/mail/gmime24 \ +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.0:${PORTSDIR}/audio/libcanberra + canberra-gtk:${PORTSDIR}/audio/libcanberra USE_GMAKE= yes USE_BZIP2= yes @@ -29,7 +25,8 @@ INSTALLS_OMF= yes INSTALLS_ICONS= yes USE_PERL5= yes USE_OPENSSL= yes -USE_GNOME= gnomeprefix intlhack gnomehack libgnomeui gtkhtml3 \ +USES= pathfix +USE_GNOME= gnomeprefix intlhack libgnomeui gtkhtml3 \ libgnomeprintui USE_GETTEXT= yes USE_AUTOTOOLS= libltdl @@ -45,36 +42,36 @@ CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} MAN1= balsa.1 -OPTIONS= LDAP "Enable LDAP support" on \ - GTKSPELL "Spell checking support" on \ - GTKSV "Enable GtkSourceview support" on \ - NOTIFY "Enable libnotify support" on \ - GPG "Enable GnuPG support" off +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 -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_GPG) -LIB_DEPENDS+= gpgme.19:${PORTSDIR}/security/gpgme +.if ${PORT_OPTIONS:MGPG} +LIB_DEPENDS+= gpgme:${PORTSDIR}/security/gpgme CONFIGURE_ARGS+= --with-gpgme=${LOCALBASE}/bin/gpgme-config .endif -.if !defined(WITHOUT_LDAP) +.if ${PORT_OPTIONS:MLDAP} USE_OPENLDAP= yes CONFIGURE_ARGS+= --with-ldap .endif -.if !defined(WITHOUT_GTKSPELL) -LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell +.if ${PORT_OPTIONS:MGTKSPELL} +LIB_DEPENDS+= gtkspell:${PORTSDIR}/textproc/gtkspell CONFIGURE_ARGS+=--with-gtkspell .endif -.if !defined(WITHOUT_GTKSV) +.if ${PORT_OPTIONS:MGTKSV} USE_GNOME+= gtksourceview2 CONFIGURE_ARGS+=--with-gtksourceview=2 .endif -.if !defined(WITHOUT_NOTIFY) -LIB_DEPENDS+= notify.4:${PORTSDIR}/devel/libnotify +.if ${PORT_OPTIONS:MNOTIFY} +LIB_DEPENDS+= notify:${PORTSDIR}/devel/libnotify CONFIGURE_ARGS+=--with-libnotify=yes .else CONFIGURE_ARGS+=--with-libnotify=no @@ -96,4 +93,4 @@ post-patch: @${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> +.include <bsd.port.mk> |