1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/net-im/gotktrix/Makefile
2023-04-08 10:13:25 -05:00

33 lines
996 B
Makefile

PORTNAME= gotktrix
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.4
PORTREVISION= 9
CATEGORIES= net-im
MAINTAINER= fuz@FreeBSD.org
COMMENT= Matrix client in Go and GTK4
WWW= https://github.com/diamondburned/gotktrix
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.md
LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \
libharfbuzz.so:print/harfbuzz \
libvulkan.so:graphics/vulkan-loader
USES= gnome go:modules pkgconfig
USE_GNOME= cairo gdkpixbuf2 glib20 gtk40 introspection pango
GO_MODULE= github.com/diamondburned/gotktrix
PLIST_FILES= bin/gotktrix \
share/icons/hicolor/256x256/apps/gotktrix.png \
${DESKTOPDIR}/com.github.diamondburned.gotktrix.desktop
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps
${INSTALL_DATA} ${WRKSRC}/.github/logo-256.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/gotktrix.png
${INSTALL_DATA} ${WRKSRC}/.nix/com.github.diamondburned.gotktrix.desktop \
${STAGEDIR}${DESKTOPDIR}/
.include <bsd.port.mk>