summaryrefslogtreecommitdiff
path: root/x11/xfce4-screensaver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xfce4-screensaver/Makefile')
-rw-r--r--x11/xfce4-screensaver/Makefile48
1 files changed, 23 insertions, 25 deletions
diff --git a/x11/xfce4-screensaver/Makefile b/x11/xfce4-screensaver/Makefile
index 571a5a031ffd..6cdbb97c057c 100644
--- a/x11/xfce4-screensaver/Makefile
+++ b/x11/xfce4-screensaver/Makefile
@@ -1,57 +1,55 @@
PORTNAME= xfce4-screensaver
-PORTVERSION= 4.18.4
-PORTREVISION= 1
+PORTVERSION= 4.20.1
CATEGORIES= x11 xfce
MASTER_SITES= XFCE/apps
DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
COMMENT= Xfce 4 screen saver and locker
-WWW= https://git.xfce.org/apps/xfce4-screensaver/about/
+WWW= https://docs.xfce.org/apps/xfce4-screensaver/start
LICENSE= GPLv2 LGPL20
LICENSE_COMB= dual
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LIB
-BUILD_DEPENDS= xdt-csource:devel/xfce4-dev-tools
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib \
- libharfbuzz.so:print/harfbuzz \
libxklavier.so:x11/libxklavier
-USES= compiler:c11 gettext-tools gl gmake gnome pkgconfig python \
- shebangfix tar:bzip2 xfce xorg
-USE_GL= gl
-USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool libwnck3
+USES= compiler:c11 gettext-tools gnome meson pkgconfig python \
+ shebangfix tar:xz xfce xorg
+USE_GNOME= glib20 gtk30 libwnck3
USE_XFCE= garcon xfconf
USE_XORG= ice sm x11 xext xrandr xscrnsaver xxf86vm
SHEBANG_FILES= src/xfce4-screensaver-configure.py
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-maintainer-mode \
- --with-console-kit=yes \
- --with-systemd=no
+MESON_ARGS= -Dsession-manager=consolekit \
+ -Dwayland=disabled \
+ -Dx11=enabled
SCREENSAVER_DIR= share/applications/screensavers
-OPTIONS_DEFINE= NLS PAM
+PORTDOCS= docbook.css xfce4-screensaver.html
+
+OPTIONS_DEFINE= DOCS NLS PAM
OPTIONS_DEFAULT= PAM
OPTIONS_SUB= yes
-NLS_USES= gettext-runtime
-NLS_CONFIGURE_ENABLE= nls
+DOCS_BUILD_DEPENDS= docbook-xml>=0:textproc/docbook-xml \
+ xmlto:textproc/xmlto
+DOCS_MESON_ENABLED= docs
+DOCS_MESON_ON= -Ddocdir=${DOCSDIR}
-PAM_RUN_DEPENDS= pam_helper:security/pam_helper
-PAM_CONFIGURE_ON= --enable-authentication-scheme=helper \
- --with-passwd-helper=${LOCALBASE}/bin/pam_helper
-PAM_CONFIGURE_OFF= --disable-pam
+NLS_USES= gettext-runtime
-.include <bsd.port.pre.mk>
+PAM_RUN_DEPENDS= pam_helper:security/pam_helper
+PAM_MESON_ON= -Dauthentication-scheme=helper \
+ -Dpasswd-helper=${LOCALBASE}/bin/pam_helper
+PAM_MESON_OFF= -Dauthentication-scheme=pwent
-.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-debug=yes
-.endif
+post-patch-NLS-off:
+ @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
post-patch-PAM-on:
@${REINPLACE_CMD} -e 's|/etc/pam.d|${PREFIX}/etc/pam.d|g' \
@@ -64,4 +62,4 @@ post-install:
post-install-PAM-on:
${INSTALL_DATA} ${FILESDIR}/xfce4-screensaver.pam ${STAGEDIR}${PREFIX}/etc/pam.d/xfce4-screensaver.sample
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>