summaryrefslogtreecommitdiff
path: root/x11/workrave/Makefile
diff options
context:
space:
mode:
authorPau Amma <pauamma@gundo.com>2023-07-31 10:10:13 +0200
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2023-08-02 08:30:06 +0200
commit890f5238e3ac273554880ac8fdd9cfcc2e786882 (patch)
tree63b053e0057265ce2437ab1a801018c1d8e3f404 /x11/workrave/Makefile
parentdevel/jetbrains-webstorm: Update to 2023.2 (diff)
x11/workrave: Add @sample to exercises list
Upstream recommends editing exercises.xml to add or remove exercises, hence treat it like a config file. PR: 272821 Reported by: pauamma@gundo.com Approved by: cyberbotx@cyberbotx.com (maintainer)
Diffstat (limited to 'x11/workrave/Makefile')
-rw-r--r--x11/workrave/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/workrave/Makefile b/x11/workrave/Makefile
index 5afcffcef212..2abd96a6cc2f 100644
--- a/x11/workrave/Makefile
+++ b/x11/workrave/Makefile
@@ -1,7 +1,7 @@
PORTNAME= workrave
PORTVERSION= 1.10.50
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= https://github.com/rcaelers/workrave/releases/download/v${PORTVERSION:S/./_/g}/
@@ -71,4 +71,10 @@ GSTREAMER_CONFIGURE_ENABLE= gstreamer
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
+# Upstream recommends editing that file to add or remove exercises,
+# hence treat it like a config file.
+post-stage:
+ ${MV} ${STAGEDIR}${DATADIR}/exercises/exercises.xml \
+ ${STAGEDIR}${DATADIR}/exercises/exercises.xml.sample
+
.include <bsd.port.mk>