freebsd-ports/x11-toolkits/termit/Makefile
Niclas Zeising 4c46ca73d8 Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 18:36:55 +00:00

43 lines
870 B
Makefile

# $FreeBSD$
PORTNAME= termit
PORTVERSION= 3.0
DISTVERSIONPREFIX= ${PORTNAME}-
PORTREVISION= 2
CATEGORIES= x11-toolkits gnome
MAINTAINER= bob@eager.cx
COMMENT= Small terminal emulator with Lua scripting
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpcre2-8.so:devel/pcre2 \
libgnutls.so:security/gnutls
USE_GITHUB= yes
GH_ACCOUNT= nonstop
USES= cmake gnome lua pkgconfig xorg
USE_XORG= x11
USE_GNOME= cairo gdkpixbuf2 gtk30 vte3
CPPFLAGS+= -I${LOCALBASE}/include/vte-0.0
TERMIT_ETC= ${STAGEDIR}${PREFIX}/etc/xdg/${PORTNAME}
OPTIONS_DEFINE= DEBUG DOCS NLS
OPTIONS_SUB= yes
DEBUG_CMAKE_ON= -DDEBUG:BOOL=YES
NLS_CMAKE_OFF= -DENABLE_NLS:BOOL=NO
NLS_USES= gettext
post-install:
@${MKDIR} ${TERMIT_ETC}
.for file in colormaps.lua rc.lua utils.lua
${CP} ${WRKSRC}/etc/termit/${file} ${TERMIT_ETC}/${file}.sample
.endfor
.include <bsd.port.mk>