mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
d77baf3556
PR: 251762 Submitted by: nomoo@nomoo.ru(maintainer)
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= rofi
|
|
PORTVERSION= 1.6.1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= https://github.com/davatorium/rofi/releases/download/${PORTVERSION}/
|
|
|
|
MAINTAINER= nomoo@nomoo.ru
|
|
COMMENT= Window switcher, run dialog and dmenu replacement
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= checkmk:devel/check \
|
|
${LOCALBASE}/bin/flex:textproc/flex
|
|
LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \
|
|
libxcb-ewmh.so:x11/xcb-util-wm \
|
|
libxcb-icccm.so:x11/xcb-util-wm \
|
|
libxcb-util.so:x11/xcb-util \
|
|
libxcb-xrm.so:x11/xcb-util-xrm \
|
|
libxkbcommon-x11.so:x11/libxkbcommon
|
|
|
|
USES= bison gmake gnome libtool pkgconfig shebangfix xorg
|
|
USE_GNOME= cairo gdkpixbuf2 librsvg2 pango
|
|
USE_XORG= xcb
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= LEX="${LOCALBASE}/bin/flex"
|
|
SHEBANG_FILES= script/get_git_rev.sh \
|
|
script/rofi-sensible-terminal
|
|
bash_CMD= /bin/sh
|
|
TEST_TARGET= check
|
|
|
|
post-patch:
|
|
# Fix rofi-theme-selector which assumes we have GNU sed
|
|
@${REINPLACE_CMD} 's|$${SED} -i |$${SED} -i "" |' \
|
|
${WRKSRC}/script/rofi-theme-selector
|
|
|
|
.include <bsd.port.mk>
|