pycparser is a complete parser of the C language, written in pure Python using the PLY parsing library. It parses C code into an AST and can serve as a front-end for C compilers or analysis tools. WWW: https://github.com/eliben/pycparser
19 lines
349 B
Makefile
19 lines
349 B
Makefile
# Created by: William Grzybowski <wg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pycparser
|
|
PORTVERSION= 2.10
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= wg@FreeBSD.org
|
|
COMMENT= C parser in Python
|
|
|
|
LICENSE= BSD
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
.include <bsd.port.mk>
|