pkgsrc/devel/py-grako/Makefile

23 lines
637 B
Makefile

# $NetBSD: Makefile,v 1.3 2017/06/17 19:37:39 joerg Exp $
DISTNAME= grako-3.99.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/grako/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://bitbucket.org/neogeny/grako/
COMMENT= Grammar compiler
LICENSE= modified-bsd
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= c
post-install:
cd ${DESTDIR}${PREFIX}/bin && mv grako grako${PYVERSSUFFIX} || ${TRUE}
.include "../../devel/py-cython/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"