freebsd-ports/deskutils/gnome-contacts/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

63 lines
1.9 KiB
Makefile

PORTNAME= gnome-contacts
PORTVERSION= 41.0
PORTREVISION= 2
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Contacts manager for gnome
WWW= https://wiki.gnome.org/Apps/Contacts
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
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 \
libdrm.so:graphics/libdrm \
libexpat.so:textproc/expat2 \
libfolks.so:net-im/folks \
libgee-0.8.so:devel/libgee \
libgeocode-glib.so:net/geocode-glib \
libgoa-1.0.so:net/gnome-online-accounts \
libgstreamer-1.0.so:multimedia/gstreamer1 \
libhandy-1.so:x11-toolkits/libhandy \
libjson-glib-1.0.so:devel/json-glib \
libnotify.so:devel/libnotify \
libnspr4.so:devel/nspr \
libsecret-1.so:security/libsecret \
libsoup-2.4.so:devel/libsoup \
libtelepathy-glib.so:net-im/telepathy-glib
PORTSCOUT= limitw:1,even
USE_GL= egl
USE_GNOME= cairo evolutiondataserver3 gdkpixbuf2 gnomedesktop3 gtk30 \
intlhack introspection:build
USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr
USES= compiler:c11 gettext gl gnome localbase meson perl5 pkgconfig \
python:3.4+,build sqlite tar:xz vala:build xorg
GLIB_SCHEMAS= org.gnome.Contacts.gschema.xml
OPTIONS_SUB= yes
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT= MANPAGES
OPTIONS_DEFINE_i386= CHEESE
OPTIONS_DEFINE_amd64= CHEESE
OPTIONS_DEFAULT_i386= CHEESE
OPTIONS_DEFAULT_amd64= CHEESE
MANPAGES_MESON_TRUE= manpage
MANPAGES_USE= GNOME=libxslt:build
MANPAGES_BUILD_DEPENDS= docbook-xml>=0:textproc/docbook-xml \
docbook-xsl-ns>=0:textproc/docbook-xsl-ns \
docbook-xsl>=0:textproc/docbook-xsl
CHEESE_DESC= Cheese webcam support
CHEESE_MESON_ENABLED= cheese
CHEESE_LIB_DEPENDS= libcheese-gtk.so:multimedia/cheese
.include <bsd.port.mk>