aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/wayfire/Makefile8
-rw-r--r--x11-wm/wayfire/pkg-plist2
2 files changed, 10 insertions, 0 deletions
diff --git a/x11-wm/wayfire/Makefile b/x11-wm/wayfire/Makefile
index eddc59051aee..8daacb6c38d8 100644
--- a/x11-wm/wayfire/Makefile
+++ b/x11-wm/wayfire/Makefile
@@ -2,6 +2,7 @@
PORTNAME= wayfire
DISTVERSION= 0.6.0
+PORTREVISION= 1
CATEGORIES= x11-wm
MAINTAINER= jbeich@FreeBSD.org
@@ -49,4 +50,11 @@ post-patch:
-e '/project_version/s/@0@/${DISTVERSIONFULL}/' \
${WRKSRC}/meson.build
+post-install:
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${STAGEDIR}${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/wayland-sessions
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \
+ ${STAGEDIR}${PREFIX}/share/wayland-sessions
+
.include <bsd.port.mk>
diff --git a/x11-wm/wayfire/pkg-plist b/x11-wm/wayfire/pkg-plist
index 2d579fdbba75..3200c3115459 100644
--- a/x11-wm/wayfire/pkg-plist
+++ b/x11-wm/wayfire/pkg-plist
@@ -73,6 +73,7 @@ lib/wayfire/libwobbly.so
lib/wayfire/libwrot.so
lib/wayfire/libzoom.so
libdata/pkgconfig/wayfire.pc
+%%EXAMPLESDIR%%/wayfire.ini
%%DATADIR%%/decoration/resources/close.png
%%DATADIR%%/decoration/resources/maximize.png
%%DATADIR%%/decoration/resources/minimize.png
@@ -108,3 +109,4 @@ libdata/pkgconfig/wayfire.pc
%%DATADIR%%/metadata/wrot.xml
%%DATADIR%%/metadata/zoom.xml
%%DATADIR%%/protocols/unstable/wayfire-shell-unstable-v2.xml
+share/wayland-sessions/wayfire.desktop