pkgsrc/sysutils/ttyplot/Makefile
fcambus e07d388fe5 sysutils/ttyplot: import ttyplot-1.4.
ttyplot is a realtime plotting utility for terminals. It takes data from
stdin, and plots on a terminal or console.

It supports rate calculation for counters, and up to two plots on a single
display using reverse video for the second line.

OK kamil@
2019-08-15 08:43:47 +00:00

28 lines
791 B
Makefile

# $NetBSD: Makefile,v 1.1 2019/08/15 08:43:47 fcambus Exp $
DISTNAME= ttyplot-1.4
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=tenox7/}
MAINTAINER= fcambus@NetBSD.org
HOMEPAGE= https://github.com/tenox7/ttyplot/
COMMENT= Realtime plotting utility for terminals
LICENSE= unlicense
# Adjust Makefile
SUBST_CLASSES+= makefile
SUBST_STAGE.makefile= pre-configure
SUBST_MESSAGE.makefile= Fixing Makefile
SUBST_FILES.makefile= Makefile
SUBST_SED.makefile+= -e '/^CFLAGS/ s,-O3,,'
SUBST_SED.makefile+= -e 's,^CFLAGS *= ,CFLAGS += ,'
DOCDIR= share/doc/ttyplot
INSTALLATION_DIRS+= bin ${DOCDIR}
do-install:
${RUN}${INSTALL_PROGRAM} ${WRKSRC}/ttyplot ${DESTDIR}${PREFIX}/bin
${RUN}${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/${DOCDIR}
.include "../../mk/bsd.pkg.mk"