blob: 494a3424e7a239f35d7c98f93fb988f8db4e22a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.4 2019/04/25 07:33:17 maya Exp $
DISTNAME= xonsh-0.8.8
PKGREVISION= 1
CATEGORIES= shells python
MASTER_SITES= ${MASTER_SITE_GITHUB:=xonsh/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xon.sh/
COMMENT= Python-ish, BASHwards-looking shell language and command prompt
LICENSE= 2-clause-bsd
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
DEPENDS+= ${PYPKGPREFIX}-ply-[0-9]*:../../devel/py-ply
DEPENDS+= ${PYPKGPREFIX}-prompt_toolkit-[0-9]*:../../devel/py-prompt_toolkit2
DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
PKG_SHELL= ${PREFIX}/bin/xon.sh
PKG_SHELL+= ${PREFIX}/bin/xonsh
SUBST_CLASSES+= xonsh
SUBST_STAGE.xonsh= pre-configure
SUBST_FILES.xonsh= scripts/xon.sh scripts/xonsh scripts/xonsh-cat
SUBST_SED.xonsh= -e 's,python3,${PYTHONBIN},'
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|