freebsd-ports/x11/nwg-launchers/Makefile

27 lines
638 B
Makefile
Raw Normal View History

PORTNAME= nwg-launchers
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.4
PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= jbeich@FreeBSD.org
COMMENT= GTK-based launchers: application grid, button bar, dmenu for sway and other window managers
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json
USES= compiler:c++17-lang gnome meson pkgconfig
USE_GITHUB= yes
USE_GNOME= gtkmm30
GH_ACCOUNT= nwg-piotr
post-patch:
# Respect PREFIX when looking for .desktop files
@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
${WRKSRC}/common/nwg_tools.cc \
${WRKSRC}/grid/grid_tools.cc
.include <bsd.port.mk>