aboutsummaryrefslogtreecommitdiff
path: root/x11/wayland-logout/Makefile
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-12-27 04:36:16 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-12-27 04:36:16 +0000
commit29d39e6fa242e29411fc08ec2f93ae3ca709df4d (patch)
treefa37884f4b173333432bf227438f2de06a529e33 /x11/wayland-logout/Makefile
parente38dd037bc1ebbb51e6169b02cf95ea117687204 (diff)
downloadports-29d39e6fa242e29411fc08ec2f93ae3ca709df4d.tar.gz
ports-29d39e6fa242e29411fc08ec2f93ae3ca709df4d.zip
x11/wayland-logout: update to 1.1
- Switch to more efficient code on FreeBSD 13.0 Changes: https://github.com/soreau/wayland-logout/compare/v1.0...v1.1 Reported by: portscout
Notes
Notes: svn path=/head/; revision=559342
Diffstat (limited to 'x11/wayland-logout/Makefile')
-rw-r--r--x11/wayland-logout/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/x11/wayland-logout/Makefile b/x11/wayland-logout/Makefile
index e5e67b1c669d..ebfa34885128 100644
--- a/x11/wayland-logout/Makefile
+++ b/x11/wayland-logout/Makefile
@@ -2,22 +2,24 @@
PORTNAME= wayland-logout
DISTVERSIONPREFIX= v
-DISTVERSION= 1.0
+DISTVERSION= 1.1
CATEGORIES= x11
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+= 6e0c13c8b198.patch:-p1 # https://github.com/soreau/wayland-logout/pull/6
+PATCHFILES+= 64eb1c3c9a4d.patch:-p1 # https://github.com/soreau/wayland-logout/pull/6
+
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Simple logout on Wayland
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+USES= meson
USE_GITHUB= yes
GH_ACCOUNT= soreau
-NO_ARCH= yes
-NO_BUILD= yes
-PLIST_FILES= bin/${PORTNAME}
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh \
- ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+MESON_ARGS= ${${OPSYS} == FreeBSD && ${OSREL:R} >= 13:?-Dimplementation=c:}
+PLIST_FILES= bin/${PORTNAME} \
+ man/man1/${PORTNAME}.1.gz
.include <bsd.port.mk>