[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / ttyplot

File: [cvs.NetBSD.org] / pkgsrc / sysutils / ttyplot / Makefile (download)

Revision 1.1, Thu Aug 15 08:43:47 2019 UTC (11 months, 3 weeks ago) by fcambus
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, HEAD

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@

# $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"