freebsd-ports/mail/evolution/Makefile
Stefan Eßer b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00

140 lines
4.9 KiB
Makefile

PORTNAME= evolution
DISTVERSION= 3.44.4
CATEGORIES= mail gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Integrated mail, calendar and address book distributed suite
WWW= https://wiki.gnome.org/Apps/Evolution
LICENSE= GFDL GPLv2+ LGPL21+ MPL11 OPENLDAP
LICENSE_COMB= multi
LICENSE_NAME_OPENLDAP= OpenLDAP Public License
LICENSE_FILE_OPENLDAP= ${WRKSRC}/COPYING.OPENLDAP
LICENSE_PERMS_OPENLDAP= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= highlight:textproc/highlight \
iso-codes>=0:misc/iso-codes \
itstool:textproc/itstool
LIB_DEPENDS= libcryptui.so:security/libcryptui \
libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib \
libenchant-2.so:textproc/enchant2 \
libenchant.so:textproc/enchant \
libfribidi.so:converters/fribidi \
libgcr-base-3.so:security/gcr \
libgnome-autoar-gtk-0.so:archivers/gnome-autoar \
libgspell-1.so:textproc/gspell \
libgtkspell3-3.so:textproc/gtkspell3 \
libical.so:devel/libical \
libicuuc.so:devel/icu \
libnotify.so:devel/libnotify \
libnspr4.so:devel/nspr \
libnss3.so:security/nss \
libp11-kit.so:security/p11-kit \
libsecret-1.so:security/libsecret \
libsoup-2.4.so:devel/libsoup \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
RUN_DEPENDS= highlight:textproc/highlight \
iso-codes>=0:misc/iso-codes
PORTSCOUT= limitw:1,even
USES= cmake compiler:c11 cpe desktop-file-utils gettext gnome \
iconv:wchar_t libarchive localbase pathfix pkgconfig sqlite \
tar:xz xorg
USE_GNOME= cairo evolutiondataserver3 glib20 gnomedesktop3 intltool
GNU_CONFIGURE= yes
USE_XORG= x11
USE_LDCONFIG= yes
CPE_VENDOR= gnome
CMAKE_ARGS= -DENABLE_TEXT_HIGHLIGHT=YES \
-DVERSION_COMMENT="FreeBSD GNOME Team" \
-DWITH_ENCHANT_VERSION=2
GLIB_SCHEMAS= org.gnome.evolution.addressbook.gschema.xml \
org.gnome.evolution.bogofilter.gschema.xml \
org.gnome.evolution.calendar.gschema.xml \
org.gnome.evolution.gschema.xml \
org.gnome.evolution.importer.gschema.xml \
org.gnome.evolution.mail.gschema.xml \
org.gnome.evolution.plugin.attachment-reminder.gschema.xml \
org.gnome.evolution.plugin.autocontacts.gschema.xml \
org.gnome.evolution.plugin.email-custom-header.gschema.xml \
org.gnome.evolution.plugin.external-editor.gschema.xml \
org.gnome.evolution.plugin.face-picture.gschema.xml \
org.gnome.evolution.plugin.itip.gschema.xml \
org.gnome.evolution.plugin.mail-notification.gschema.xml \
org.gnome.evolution.plugin.prefer-plain.gschema.xml \
org.gnome.evolution.plugin.publish-calendar.gschema.xml \
org.gnome.evolution.plugin.sender-validator.gschema.xml \
org.gnome.evolution.plugin.templates.gschema.xml \
org.gnome.evolution.shell.gschema.xml \
org.gnome.evolution.spamassassin.gschema.xml \
org.gnome.evolution.text-highlight.gschema.xml
EVO_VERSION= 3.24
PLIST_SUB= PORTVERSION=2.12 \
VERSION=${EVO_VERSION}
OPTIONS_SUB= yes
OPTIONS_DEFINE= CANBERRA LDAP MAPS MARKDOWN PST WEATHER YTNEF
OPTIONS_DEFAULT= BOGOFILTER CANBERRA LDAP MARKDOWN WEATHER
SPAM_DESC= Spam filter support
OPTIONS_GROUP= SPAM
OPTIONS_GROUP_SPAM= BOGOFILTER SPAMASSASSIN
LDAP_CMAKE_ON= -DWITH_OPENLDAP=${LOCALBASE}
LDAP_CMAKE_OFF= -DWITH_OPENLDAP=OFF
LDAP_USE= OPENLDAP=yes
YTNEF_DESC= Support MS Outlook TNEF format
YTNEF_LIB_DEPENDS= libytnef.so:converters/ytnef
YTNEF_CMAKE_BOOL= ENABLE_YTNEF
WEATHER_DESC= Weather calendar backend
WEATHER_LIB_DEPENDS= libgweather-3.so:net/libgweather
WEATHER_CMAKE_BOOL= ENABLE_WEATHER
SPAMASSASSIN_DESC= SpamAssassin spam filtering
SPAMASSASSIN_CMAKE_ON= -DWITH_SA_LEARN=${LOCALBASE}/bin/sa-learn \
-DWITH_SPAMASSASSIN=${LOCALBASE}/spamassassin
SPAMASSASSIN_CMAKE_OFF= -DWITH_SPAMASSASSIN=NO
SPAMASSASSIN_BUILD_DEPENDS= spamassassin:mail/spamassassin
SPAMASSASSIN_RUN_DEPENDS= spamassassin:mail/spamassassin
BOGOFILTER_DESC= Bogofilter spam filtering
BOGOFILTER_CMAKE_ON= -DWITH_BOGOFILTER=${LOCALBASE}/bin/bogofilter
BOGOFILTER_CMAKE_OFF= -DWITH_BOGOFILTER=OFF
BOGOFILTER_BUILD_DEPENDS= bogofilter:mail/bogofilter
BOGOFILTER_RUN_DEPENDS= bogofilter:mail/bogofilter
CANBERRA_DESC= Canberra theme audio plugin
CANBERRA_LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \
libcanberra.so:audio/libcanberra
CANBERRA_CMAKE_BOOL= ENABLE_CANBERRA
PST_DESC= Outlook .pst importer
PST_CMAKE_BOOL= ENABLE_PST_IMPORT
PST_BUILD_DEPENDS= libpst>=0.6.58_1:mail/libpst
PST_RUN_DEPENDS= libpst>=0.6.58_1:mail/libpst
MAPS_DESC= Contact maps
MAPS_CMAKE_BOOL= ENABLE_CONTACT_MAPS
MAPS_LIB_DEPENDS= libchamplain-0.12.so:graphics/libchamplain \
libclutter-1.0.so:graphics/clutter \
libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
libcogl.so:graphics/cogl \
libgeocode-glib.so:net/geocode-glib \
libjson-glib-1.0.so:devel/json-glib
MAPS_USES= gl xorg
MAPS_USE= GL=egl \
XORG=xcomposite,xdamage,xext,xfixes,xi,xrandr
MARKDOWN_CMAKE_ON= -DENABLE_MARKDOWN=ON
MARKDOWN_CMAKE_OFF= -DENABLE_MARKDOWN=OFF
MARKDOWN_LIB_DEPENDS= libcmark.so:textproc/cmark
.include <bsd.port.mk>