diff options
author | pawel <pawel@FreeBSD.org> | 2012-04-15 07:00:32 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-04-15 07:00:32 +0800 |
commit | e40fb1d22d9f2844770f82cc961b9e83c7dbcdfe (patch) | |
tree | cdbdff20fe655a6b66db2189cffb57ba84c683dd /textproc/coccigrep | |
parent | 58d34e8ada0d82cc4d57dd86fa54918aac616a43 (diff) | |
download | freebsd-ports-gnome-e40fb1d22d9f2844770f82cc961b9e83c7dbcdfe.tar.gz freebsd-ports-gnome-e40fb1d22d9f2844770f82cc961b9e83c7dbcdfe.tar.zst freebsd-ports-gnome-e40fb1d22d9f2844770f82cc961b9e83c7dbcdfe.zip |
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/
Diffstat (limited to 'textproc/coccigrep')
-rw-r--r-- | textproc/coccigrep/Makefile | 38 | ||||
-rw-r--r-- | textproc/coccigrep/distinfo | 2 | ||||
-rw-r--r-- | textproc/coccigrep/pkg-descr | 5 | ||||
-rw-r--r-- | textproc/coccigrep/pkg-plist | 30 |
4 files changed, 75 insertions, 0 deletions
diff --git a/textproc/coccigrep/Makefile b/textproc/coccigrep/Makefile new file mode 100644 index 000000000000..7a28272b56a2 --- /dev/null +++ b/textproc/coccigrep/Makefile @@ -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> diff --git a/textproc/coccigrep/distinfo b/textproc/coccigrep/distinfo new file mode 100644 index 000000000000..20eaab3cd771 --- /dev/null +++ b/textproc/coccigrep/distinfo @@ -0,0 +1,2 @@ +SHA256 (coccigrep-1.8.tar.gz) = 91283cbfd141bb93ca6377301caf67463f4d5b48f683c791dd9f653863620c9f +SIZE (coccigrep-1.8.tar.gz) = 32174 diff --git a/textproc/coccigrep/pkg-descr b/textproc/coccigrep/pkg-descr new file mode 100644 index 000000000000..9e1ed7bc477a --- /dev/null +++ b/textproc/coccigrep/pkg-descr @@ -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/ diff --git a/textproc/coccigrep/pkg-plist b/textproc/coccigrep/pkg-plist new file mode 100644 index 000000000000..6754e0109582 --- /dev/null +++ b/textproc/coccigrep/pkg-plist @@ -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 |