summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorryoon <ryoon>2011-11-08 11:15:32 +0000
committerryoon <ryoon>2011-11-08 11:15:32 +0000
commit0cd543d99fc5a0c13dc529fc011782f4df75bce8 (patch)
treecb57e3a62aff04c05241cc21bebf3a483bdee326 /textproc
parent40690d62a90f95b90778da1ee2fae718b7b50fd8 (diff)
downloadpkgsrc-0cd543d99fc5a0c13dc529fc011782f4df75bce8.tar.gz
Import coccigrep-1.6 as textproc/coccigrep from wip/coccigrep
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.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/coccigrep/DESCR4
-rw-r--r--textproc/coccigrep/Makefile27
-rw-r--r--textproc/coccigrep/PLIST19
-rw-r--r--textproc/coccigrep/distinfo5
4 files changed, 55 insertions, 0 deletions
diff --git a/textproc/coccigrep/DESCR b/textproc/coccigrep/DESCR
new file mode 100644
index 00000000000..df78a5f9de4
--- /dev/null
+++ b/textproc/coccigrep/DESCR
@@ -0,0 +1,4 @@
+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.
diff --git a/textproc/coccigrep/Makefile b/textproc/coccigrep/Makefile
new file mode 100644
index 00000000000..70b40aa86d7
--- /dev/null
+++ b/textproc/coccigrep/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/11/08 11:15:32 ryoon Exp $
+#
+
+DISTNAME= coccigrep-1.6
+CATEGORIES= textproc
+MASTER_SITES= http://home.regit.org/wp-content/uploads/2011/08/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://home.regit.org/software/coccigrep/
+COMMENT= coccigrep is a semantic grep for the C language
+LICENSE= gnu-gpl-v3
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS= coccinelle-[0-9]*:../../devel/coccinelle
+
+USE_LANGUAGES= # none
+PYDISTUTILSPKG= yes
+
+INSTALLATION_DIRS= ${PKGMANDIR}/man1
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/coccigrep.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/coccigrep/PLIST b/textproc/coccigrep/PLIST
new file mode 100644
index 00000000000..9154c705f25
--- /dev/null
+++ b/textproc/coccigrep/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/11/08 11:15:32 ryoon Exp $
+bin/coccigrep
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/coccigrep/__init__.py
+${PYSITELIB}/coccigrep/__init__.pyc
+${PYSITELIB}/coccigrep/__init__.pyo
+${PYSITELIB}/coccigrep/coccigrep.cfg
+${PYSITELIB}/coccigrep/coccigrep.py
+${PYSITELIB}/coccigrep/coccigrep.pyc
+${PYSITELIB}/coccigrep/coccigrep.pyo
+${PYSITELIB}/coccigrep/data/deref.cocci
+${PYSITELIB}/coccigrep/data/func.cocci
+${PYSITELIB}/coccigrep/data/set.cocci
+${PYSITELIB}/coccigrep/data/test.cocci
+${PYSITELIB}/coccigrep/data/used.cocci
+man/man1/coccigrep.1
diff --git a/textproc/coccigrep/distinfo b/textproc/coccigrep/distinfo
new file mode 100644
index 00000000000..8044fb3c8bf
--- /dev/null
+++ b/textproc/coccigrep/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/11/08 11:15:32 ryoon Exp $
+
+SHA1 (coccigrep-1.6.tar.gz) = 79ac24df7cfccb006e1214a665cc181f39c65663
+RMD160 (coccigrep-1.6.tar.gz) = e3f4f1c352f6f5ed069216ed248e7c624e3f0a57
+Size (coccigrep-1.6.tar.gz) = 31788 bytes