mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
33 lines
877 B
Makefile
33 lines
877 B
Makefile
PORTNAME= grep-ast
|
|
DISTVERSION= 0.7.2
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= grep_ast-${PORTVERSION}
|
|
|
|
MAINTAINER= dch@FreeBSD.org
|
|
COMMENT= Pythonic grep through AST of source files
|
|
WWW= https://github.com/paul-gauthier/grep-ast
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathspec>=0:devel/py-pathspec@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}tree-sitter-languages>0:devel/py-tree-sitter-languages@${PY_FLAVOR}
|
|
|
|
USES= python shebangfix
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
PORTDOCS= README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} \
|
|
${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|