aboutsummaryrefslogtreecommitdiff
path: root/x11/hyprpaper/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/hyprpaper/Makefile')
-rw-r--r--x11/hyprpaper/Makefile19
1 files changed, 14 insertions, 5 deletions
diff --git a/x11/hyprpaper/Makefile b/x11/hyprpaper/Makefile
index 79479331e7ad..36a90cfda642 100644
--- a/x11/hyprpaper/Makefile
+++ b/x11/hyprpaper/Makefile
@@ -1,7 +1,6 @@
PORTNAME= hyprpaper
DISTVERSIONPREFIX= v
-DISTVERSION= 0.7.5
-PORTREVISION= 2
+DISTVERSION= 0.7.6
CATEGORIES= x11 wayland
MAINTAINER= tagattie@FreeBSD.org
@@ -12,7 +11,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= hyprwayland-scanner>=0.4.0:devel/hyprwayland-scanner \
- wayland-protocols>0:graphics/wayland-protocols
+ wayland-protocols>=1.35:graphics/wayland-protocols
LIB_DEPENDS= libhyprlang.so:devel/hyprlang \
libhyprutils.so:devel/hyprutils \
libhyprgraphics.so:graphics/hyprgraphics \
@@ -20,10 +19,16 @@ LIB_DEPENDS= libhyprlang.so:devel/hyprlang \
libwebp.so:graphics/webp
USES= compiler:c++11-lib cmake gnome jpeg localbase:ldflags pkgconfig
-USE_GNOME= cairo
+
USE_GITHUB= yes
GH_ACCOUNT= hyprwm
+
+USE_GNOME= cairo
+
PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= README.md
+
+OPTIONS_DEFINE= DOCS
post-patch:
# Extract (snapshot) version from the port instead of Git
@@ -41,7 +46,11 @@ post-patch:
${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} '/GLES3/d' ${WRKSRC}/src/includes.hpp
# Respect consolekit2 as XDG_RUNTIME_DIR fallback
- @${REINPLACE_CMD} 's,/run/user,/var&,' \
+ @${REINPLACE_CMD} 's|/run/user|/var&|' \
${WRKSRC}/src/ipc/Socket.cpp
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>