pkgsrc/sysutils/ttyplot/Makefile
2021-05-14 11:21:51 +00:00

29 lines
828 B
Makefile

# $NetBSD: Makefile,v 1.2 2021/05/14 11:21:51 nia 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/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"