1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

coccigrep is a semantic grep for the C language based on coccinelle. It can

be used to find where a given structure is used in code files. coccigrep
depends on the spatch program which comes with coccinelle.

WWW:    https://home.regit.org/software/coccigrep/
This commit is contained in:
Pawel Pekala 2012-04-14 23:00:32 +00:00
parent 6613d4c612
commit 25619370c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294834
5 changed files with 76 additions and 0 deletions

View File

@ -70,6 +70,7 @@
SUBDIR += clit
SUBDIR += clucene
SUBDIR += clucene-contrib
SUBDIR += coccigrep
SUBDIR += coco
SUBDIR += code2html
SUBDIR += codespell

View File

@ -0,0 +1,38 @@
# New ports collection makefile for: coccigrep
# Date created: 2012-04-14
# Whom: Pawel Pekala <pawel@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= coccigrep
PORTVERSION= 1.8
CATEGORIES= textproc
MASTER_SITES= http://home.regit.org/wp-content/uploads/2011/08/
MAINTAINER= pawel@FreeBSD.org
COMMENT= Semantic grep for the C language
LICENSE= GPLv3
RUN_DEPENDS= ${LOCALBASE}/bin/spatch:${PORTSDIR}/devel/coccinelle
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
MANCOMPRESSED= no
MAN1= coccigrep.1
post-install:
${INSTALL_MAN} ${WRKSRC}/coccigrep.1 ${MANPREFIX}/man/man1
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/editors/cocci-grep.el ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/editors/cocci-grep.vim ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.rst ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (coccigrep-1.8.tar.gz) = 91283cbfd141bb93ca6377301caf67463f4d5b48f683c791dd9f653863620c9f
SIZE (coccigrep-1.8.tar.gz) = 32174

View File

@ -0,0 +1,5 @@
coccigrep is a semantic grep for the C language based on coccinelle. It can
be used to find where a given structure is used in code files. coccigrep
depends on the spatch program which comes with coccinelle.
WWW: https://home.regit.org/software/coccigrep/

View File

@ -0,0 +1,30 @@
bin/coccigrep
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep/coccigrep.py
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep/__init__.py
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep/coccigrep.cfg
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep/coccigrep.pyc
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep/__init__.pyc
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep/data/set.cocci
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep/data/deref.cocci
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep/data/test.cocci
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep/data/used.cocci
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep/data/func.cocci
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep/coccigrep.pyo
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep/__init__.pyo
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/EGG-INFO/PKG-INFO
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/EGG-INFO/SOURCES.txt
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/EGG-INFO/dependency_links.txt
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/EGG-INFO/top_level.txt
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/EGG-INFO/not-zip-safe
%%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/EGG-INFO/scripts/coccigrep
%%DATADIR%%/cocci-grep.el
%%DATADIR%%/cocci-grep.vim
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README.rst
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%
@dirrm %%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep/data
@dirrm %%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/coccigrep
@dirrm %%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/EGG-INFO/scripts
@dirrm %%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg/EGG-INFO
@dirrm %%PYTHON_SITELIBDIR%%/coccigrep-1.8-py2.7.egg