ports/sysutils/ttyd/Makefile
Yuri Victorovich b57b20329b sysutils/ttyd: Add -W flag and /usr/bin/login default program
-W             - flag is needed in order for clients to be able
                 to write into the terminal, otherwise it is read-only
/usr/bin/login - is needed for users to be logged in,
                 because this is what most users expect

PR:		289702
Approved by:	nc@FreeBSD.org (maintainer's timeout; 25 days)
2025-10-14 20:22:52 -07:00

29 lines
600 B
Makefile

PORTNAME= ttyd
DISTVERSION= 1.7.7
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= nc@FreeBSD.org
COMMENT= Program to share your terminal over the web
WWW= https://github.com/tsl0922/ttyd
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= xxd:sysutils/xxd
LIB_DEPENDS= libjson-c.so:devel/json-c \
libuv.so:devel/libuv \
libwebsockets.so:net/libwebsockets
USES= cmake pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= tsl0922
USE_RC_SUBR= ${PORTNAME}
CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_Git:BOOL=True
PLIST_FILES= bin/${PORTNAME} \
share/man/man1/ttyd.1.gz
.include <bsd.port.mk>