diff --git a/graphics/ttyplot/Makefile b/graphics/ttyplot/Makefile index d3303760d85b..81d81e61764e 100644 --- a/graphics/ttyplot/Makefile +++ b/graphics/ttyplot/Makefile @@ -1,20 +1,23 @@ PORTNAME= ttyplot DISTVERSION= 1.7.0 CATEGORIES= graphics MAINTAINER= 0mp@FreeBSD.org COMMENT= Realtime plotting utility for TTY with data input from stdin WWW= https://github.com/tenox7/ttyplot LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= ncurses +USES= ncurses pkgconfig USE_GITHUB= yes GH_ACCOUNT= tenox7 MAKE_ARGS= CFLAGS="${CFLAGS}" MANPREFIX="${PREFIX}/share/man" PLIST_FILES= bin/${PORTNAME} share/man/man1/ttyplot.1.gz +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ttyplot + .include diff --git a/graphics/ttyplot/files/patch-Makefile b/graphics/ttyplot/files/patch-Makefile deleted file mode 100644 index 442e508ff879..000000000000 --- a/graphics/ttyplot/files/patch-Makefile +++ /dev/null @@ -1,12 +0,0 @@ ---- Makefile.orig 2024-09-20 14:10:26 UTC -+++ Makefile -@@ -2,8 +2,7 @@ CFLAGS += -Wall -Wextra - PREFIX ?= /usr/local - MANPREFIX ?= $(PREFIX)/man - CFLAGS += -Wall -Wextra --CFLAGS += `pkg-config --cflags ncursesw` --LDLIBS += `pkg-config --libs ncursesw` -lm -+LDLIBS += -lcurses -lm - - all: ttyplot stresstest -