e6dd86cdc5
Features - xterm compatible (support for a lot of unused features) - Native browser scroll and search - Theming in css/sass (18 preset themes) endless possibilities - HTML in your terminal, cat images and use <table> - Multiple sessions support - Secure authentication with X509 certificates - 16,777,216 colors support - Keyboard text selection - Desktop notifications on terminal output - Geolocation from browser - May work on firefox too WWW: https://pypi.python.org/pypi/butterfly PR: 216957 Submitted by: yuri@rawbw.com Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D9533
31 lines
914 B
Makefile
31 lines
914 B
Makefile
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= butterfly
|
|
PORTVERSION= 2.0.1
|
|
CATEGORIES= www
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
MAINTAINER= yuri@rawbw.com
|
|
COMMENT= Web terminal based on websocket and tornado
|
|
|
|
LICENSE= GPLv3
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl \
|
|
${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado \
|
|
${PYTHON_PKGNAMEPREFIX}libsass>0:www/py-libsass
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
NO_ARCH= yes
|
|
USE_RC_SUBR= butterfly
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= PYTHON_CMD=${PYTHON_CMD}
|
|
|
|
post-install:
|
|
@${REINPLACE_CMD} -i '' -e "s|^butterfly_dir = os.path.join(ev, 'butterfly')|butterfly_dir = '${PREFIX}/etc/butterfly'|g" \
|
|
${STAGEDIR}${PREFIX}/bin/butterfly.server.py
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/butterfly/ssl
|
|
${INSTALL_DATA} ${WRKSRC}/butterfly/butterfly.conf.default ${STAGEDIR}${ETCDIR}/butterfly.conf.sample
|
|
|
|
.include <bsd.port.mk>
|