freebsd-ports/databases/evolution-data-server/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

82 lines
2.3 KiB
Makefile

PORTNAME= evolution-data-server
DISTVERSION= 3.44.4
CATEGORIES= databases gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Data backends for the Evolution integrated mail/PIM suite
WWW= https://wiki.gnome.org/Apps/Evolution
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
libfribidi.so:converters/fribidi \
libgcr-base-3.so:security/gcr \
libgoa-1.0.so:net/gnome-online-accounts \
libgdata.so:devel/libgdata \
libharfbuzz.so:print/harfbuzz \
libical.so:devel/libical \
libnss3.so:security/nss \
libicudata.so:devel/icu \
libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
libjson-glib-1.0.so:devel/json-glib \
libp11-kit.so:security/p11-kit \
libnspr4.so:devel/nspr \
libsecret-1.so:security/libsecret \
libcanberra-gtk3.so:audio/libcanberra-gtk3 \
libcanberra.so:audio/libcanberra
PORTSCOUT= limitw:1,even
USES= bdb:5 cmake compiler:c++11-lib cpe gettext gnome gperf \
iconv:wchar_t localbase pathfix pkgconfig python:3.6+,build\
sqlite tar:xz xorg
USE_CXXSTD= gnu++11
USE_GNOME= cairo gdkpixbuf2 gtk30 intltool introspection:build libxml2
USE_XORG= x11
USE_LDCONFIG= yes
CPE_VENDOR= gnome
CMAKE_ARGS= -DENABLE_INTROSPECTION=ON \
-DENABLE_UOA=OFF
CMAKE_ARGS+= -DWITH_LIBDB_CFLAGS=-I${LOCALBASE}/include/db5 \
-DWITH_LIBDB_LIBS="-L${LOCALBASE}/lib -ldb-5"
GLIB_SCHEMAS= org.gnome.evolution-data-server.addressbook.gschema.xml \
org.gnome.evolution-data-server.calendar.gschema.xml \
org.gnome.evolution-data-server.gschema.xml \
org.gnome.Evolution.DefaultSources.gschema.xml \
org.gnome.evolution.eds-shell.gschema.xml \
org.gnome.evolution.shell.network-config.gschema.xml
PLIST_SUB= EVO_VERSION="1.2"
OPTIONS_SUB= yes
OPTIONS_DEFINE= WEATHER KERBEROS LDAP VALA
OPTIONS_DEFAULT=WEATHER KERBEROS LDAP VALA
KERBEROS_CMAKE_ON= -DWITH_KRB5=/usr
KERBEROS_CMAKE_OFF= -DWITH_KRB5=OFF
KERBEROS_USES= ssl
LDAP_CMAKE_ON= -DWITH_OPENLDAP=${LOCALBASE}
LDAP_CMAKE_OFF= -DWITH_OPENLDAP=OFF
LDAP_USE= openldap=yes
VALA_DESC= Build Vala language bindings
VALA_USES= vala:build
VALA_CMAKE_BOOL= ENABLE_VALA_BINDINGS
WEATHER_DESC= Weather calendar backend
WEATHER_LIB_DEPENDS= libgweather-3.so:net/libgweather
WEATHER_CMAKE_BOOL= ENABLE_WEATHER
.include <bsd.port.options.mk>
post-install:
@${RM} -rf ${STAGEDIR}${PREFIX}/lib/systemd
.include <bsd.port.mk>