openbsd-ports/productivity/teapot/Makefile
2022-05-08 09:39:32 +00:00

41 lines
959 B
Makefile

COMMENT = three dimensional console spreadsheet
V = 2.3.0
DISTNAME = teapot-${V}
REVISION = 1
CATEGORIES = productivity
HOMEPAGE = https://www.syntax-k.de/projekte/teapot/
# GPLv3
PERMIT_PACKAGE = Yes
WANTLIB += c curses m
MASTER_SITES = https://www.syntax-k.de/projekte/teapot/
DISTFILES = ${DISTNAME}${EXTRACT_SUFX}
# binary distribution to extract the documentation
DISTFILES += Teapot-${V}-Linux-i386.tar.gz
MODULES = devel/cmake
# disable LaTeX documentation compilation
CONFIGURE_ARGS += -DENABLE_HELP=no
NO_TEST = Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/teapot.1
${SUBST_CMD} ${WRKSRC}/CMakeLists.txt
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/teapot
@cd ${WRKSRC}/examples; tar cf - . | \
tar xf - -C ${PREFIX}/share/examples/teapot
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/teapot
@cd ${WRKDIR}/Teapot-${V}-Linux/share/doc/teapot/; tar cf - . | \
tar xf - -C ${PREFIX}/share/doc/teapot/
.include <bsd.port.mk>