x11/workrave: Return to pool

While I'm here, pet portlint, portfmt, portclippy and switch to
DISTVERSION.

PR:		286810
Approved by:	submitter is maintainer
This commit is contained in:
Naram Qashat 2025-06-08 19:30:46 +02:00 committed by Zsolt Udvari
parent b5ad2c044b
commit d4238a1921

View File

@ -1,25 +1,26 @@
PORTNAME= workrave
PORTVERSION= 1.10.50
DISTVERSIONPREFIX= v
DISTVERSION= 1.10.50
PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= https://github.com/rcaelers/workrave/releases/download/v${PORTVERSION:S/./_/g}/
MASTER_SITES= https://github.com/rcaelers/workrave/releases/download/v${DISTVERSION:S/./_/g}/
MAINTAINER= cyberbotx@cyberbotx.com
MAINTAINER= ports@FreeBSD.org
COMMENT= RSI prevention tool (${FLAVOR} flavor)
WWW= https://www.workrave.org/
LICENSE= GPLv3+
LICENSE_FILE= COPYING
LIB_DEPENDS= libgdome.so:textproc/gdome2 \
libharfbuzz.so:print/harfbuzz
FLAVORS= default xfce
FLAVOR?= ${FLAVORS:[1]}
xfce_PKGNAMESUFFIX= -xfce
xfce_DESCR= ${.CURDIR}/pkg-descr.xfce
xfce_CONFLICTS_INSTALL= workrave
FLAVORS= default xfce
FLAVOR?= ${FLAVORS:[1]}
default_CONFLICTS_INSTALL= workrave-xfce
xfce_PKGNAMESUFFIX= -xfce
xfce_CONFLICTS_INSTALL= workrave
xfce_DESCR= ${.CURDIR}/pkg-descr.xfce
USES= compiler:c++11-lang desktop-file-utils gmake gnome libtool \
localbase pkgconfig xorg
@ -44,12 +45,14 @@ CONFIGURE_ARGS= --disable-gconf \
--disable-indicator \
--disable-mate \
--disable-pulse
.if ${FLAVOR} != xfce
CONFIGURE_ARGS+= --disable-xfce
.endif
INSTALL_TARGET= install-strip
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
OPTIONS_DEFINE= DBUS DISTRIBUTION GSTREAMER NLS
OPTIONS_DEFAULT= DBUS GSTREAMER