# $FreeBSD: head/misc/cxxmatrix/Makefile 564845 2021-02-10 07:42:50Z eduardo $ PORTNAME= cxxmatrix DISTVERSION= g20201128 CATEGORIES= misc MAINTAINER= eduardo@FreeBSD.org COMMENT= C++ Matrix: The Matrix Reloaded in Terminals LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= gawk:lang/gawk USES= compiler:c++17-lang gmake MAKEFILE= GNUmakefile USE_GITHUB= yes GH_ACCOUNT= akinomyoga GH_TAGNAME= 93e505c PORTDOCS= README.md PLIST_FILES= bin/cxxmatrix \ share/man/man1/cxxmatrix.1.gz OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} \ -e 's|CXXFLAGS :=|CXXFLAGS +=|g' \ -e 's|-Ofast||g' \ ${WRKSRC}/GNUmakefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cxxmatrix ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/cxxmatrix.1 ${STAGEDIR}${PREFIX}/share/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include