Files
matthieu da495d6574 Fix ttypplot by moving pledge() call after open(/dev/tty).
Add 'use pledge()' marker to Makefile while there.
ok tb@, fcambus@, naddy@
2026-04-24 05:59:22 +00:00

26 lines
483 B
Makefile

COMMENT = realtime plotting utility for terminals
GH_ACCOUNT = tenox7
GH_PROJECT = ttyplot
GH_TAGNAME = 1.7.4
REVISION = 0
CATEGORIES = sysutils
# Apache 2.0
PERMIT_PACKAGE = Yes
# uses pledge()
WANTLIB += c curses m
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS}"
NO_TEST = Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ttyplot ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ttyplot
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/ttyplot
.include <bsd.port.mk>