diff options
Diffstat (limited to 'x11/hyprviz/Makefile')
-rw-r--r-- | x11/hyprviz/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/x11/hyprviz/Makefile b/x11/hyprviz/Makefile new file mode 100644 index 000000000000..f7e3b17d4573 --- /dev/null +++ b/x11/hyprviz/Makefile @@ -0,0 +1,38 @@ +PORTNAME= hyprviz +DISTVERSIONPREFIX= v +DISTVERSION= 0.6.1 +PORTREVISION= 1 +CATEGORIES= x11 wayland + +MAINTAINER= tagattie@FreeBSD.org +COMMENT= GUI for configuring Hyprland +WWW= https://github.com/timasoft/hyprviz + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cargo gnome + +USE_GITHUB= yes +GH_ACCOUNT= timasoft + +USE_GNOME= glib20 gtk40 + +PLIST_FILES= bin/${PORTNAME} \ + share/applications/${PORTNAME}.desktop +PORTDOCS= readme.md + +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/share|${DATADIR:H}|' \ + ${WRKSRC}/src/system_info.rs + +post-install: + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> |