freebsd-ports/sysutils/cinnamon-settings-daemon/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

83 lines
2.6 KiB
Makefile

PORTNAME= cinnamon-settings-daemon
PORTVERSION= 4.8.5
PORTREVISION= 2
CATEGORIES= sysutils gnome
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Cinnamon desktop settings daemon
WWW= http://cinnamon.linuxmint.com/
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB
BUILD_DEPENDS= cinnamon-session:x11/cinnamon-session \
xf86-input-wacom>0:x11-drivers/xf86-input-wacom \
gln:sysutils/coreutils
LIB_DEPENDS= libcanberra.so:audio/libcanberra \
libcanberra-gtk3.so:audio/libcanberra-gtk3 \
libpolkit-gobject-1.so:sysutils/polkit \
libgudev-1.0.so:devel/libgudev \
libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib \
libcolord.so:graphics/colord \
liblcms2.so:graphics/lcms2 \
libcinnamon-desktop.so:x11/cinnamon-desktop \
libxklavier.so:x11/libxklavier \
libnspr4.so:devel/nspr \
libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig \
libupower-glib.so:sysutils/upower \
libpulse.so:audio/pulseaudio \
libnotify.so:devel/libnotify \
libharfbuzz.so:print/harfbuzz
RUN_DEPENDS= cinnamon-session:x11/cinnamon-session
USES= compiler:c11 gettext-tools gnome localbase meson pkgconfig \
python:3.5+,build shebangfix xorg
USE_GNOME= cairo gdkpixbuf2 gtk30 intltool libgnomekbd librsvg2
USE_XORG= x11 xext xfixes xi xtst
USE_GITHUB= yes
GH_ACCOUNT= linuxmint
MESON_ARGS= -Duse_logind=disabled
SHEBANG_GLOB= *.py
BINARY_ALIAS= ln=gln
USE_LDCONFIG= yes
GLIB_SCHEMAS= org.cinnamon.settings-daemon.enums.xml \
org.cinnamon.settings-daemon.peripherals.gschema.xml \
org.cinnamon.settings-daemon.peripherals.wacom.gschema.xml \
org.cinnamon.settings-daemon.plugins.color.gschema.xml \
org.cinnamon.settings-daemon.plugins.gschema.xml \
org.cinnamon.settings-daemon.plugins.housekeeping.gschema.xml \
org.cinnamon.settings-daemon.plugins.media-keys.gschema.xml \
org.cinnamon.settings-daemon.plugins.power.gschema.xml \
org.cinnamon.settings-daemon.plugins.xrandr.gschema.xml \
org.cinnamon.settings-daemon.plugins.xsettings.gschema.xml
OPTIONS_DEFINE= CUPS SMARTCARD WACOM
OPTIONS_DEFAULT=CUPS SMARTCARD WACOM
OPTIONS_SUB= yes
CUPS_MESON_ENABLED= use_cups
CUPS_LIB_DEPENDS= libcups.so:print/cups
SMARTCARD_DESC= Smartcard support
SMARTCARD_MESON_ENABLED= enable_smartcard
SMARTCARD_LIB_DEPENDS= libnss3.so:security/nss
WACOM_DESC= Tablet support with libwacom
WACOM_LIB_DEPENDS= libwacom.so:x11/libwacom
post-patch:
# Adhere to our hier(7).
@${MKDIR} ${WRKSRC}/files${PREFIX}
@${MV} ${WRKSRC}/files/usr/share ${WRKSRC}/files${PREFIX}
.include <bsd.port.mk>