asciinema is a free and open source solution for recording terminal sessions and sharing them on the web. regress test part from danj@ ok danj@
33 lines
641 B
Makefile
33 lines
641 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2016/11/02 16:57:31 ajacoutot Exp $
|
|
|
|
COMMENT= terminal session recorder
|
|
|
|
MODPY_EGG_VERSION= 1.3.0
|
|
|
|
# MODPY_PI does not work
|
|
GH_PROJECT= asciinema
|
|
GH_ACCOUNT= asciinema
|
|
GH_TAGNAME= v${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MODULES= lang/python
|
|
|
|
MODPY_SETUPTOOLS= Yes
|
|
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
|
|
|
|
TEST_DEPENDS= devel/py-nose${MODPY_FLAVOR}
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/man/asciinema.1 ${PREFIX}/man/man1/
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && nosetests${MODPY_BIN_SUFFIX}
|
|
|
|
.include <bsd.port.mk>
|