blob: 94fa7314e59cddb57a8b2848418cc72bb24959bb (
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.2 2014/11/09 19:31:56 rodent Exp $
DISTNAME= hy-0.10.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= lang python
MASTER_SITES= https://pypi.python.org/packages/source/h/hy/
MAINTAINER= rodent@NetBSD.org
HOMEPAGE= http://hylang.org/
COMMENT= Lisp and Python love each other
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-rply>=0.7.0:../../devel/py-rply
DEPENDS+= ${PYPKGPREFIX}-astor>=0.3:../../devel/py-astor
USE_LANGUAGES= # none
PY_PATCHPLIST= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/hy \
${DESTDIR}${PREFIX}/bin/hy${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/hy2py \
${DESTDIR}${PREFIX}/bin/hy2py${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/hyc \
${DESTDIR}${PREFIX}/bin/hyc${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|