pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
coccigrep: Import coccigrep-0.16nb1 as wip/coccigrep
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Wed Jul 8 02:14:12 2020 +0200
Changeset: fa07abfc1cd0238ff504e3316027ecdc699b2533
Modified Files:
Makefile
Added Files:
coccigrep/DESCR
coccigrep/Makefile
coccigrep/PLIST
coccigrep/distinfo
Log Message:
coccigrep: Import coccigrep-0.16nb1 as 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.
This is intended to be used to be updated and to test wip/coccinelle.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fa07abfc1cd0238ff504e3316027ecdc699b2533
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
coccigrep/DESCR | 4 ++++
coccigrep/Makefile | 25 +++++++++++++++++++++++++
coccigrep/PLIST | 20 ++++++++++++++++++++
coccigrep/distinfo | 6 ++++++
5 files changed, 56 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index eba71fc646..fa6de69a38 100644
--- a/Makefile
+++ b/Makefile
@@ -444,6 +444,7 @@ SUBDIR+= clustershell
SUBDIR+= clutter-gst
SUBDIR+= cm-unicode-ttf
SUBDIR+= cmetrics
+SUBDIR+= coccigrep
SUBDIR+= coccinelle
SUBDIR+= collectd-CGP
SUBDIR+= collectd-haproxy
diff --git a/coccigrep/DESCR b/coccigrep/DESCR
new file mode 100644
index 0000000000..df78a5f9de
--- /dev/null
+++ b/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/coccigrep/Makefile b/coccigrep/Makefile
new file mode 100644
index 0000000000..b9461b0a5a
--- /dev/null
+++ b/coccigrep/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.16 2020/01/26 17:32:13 rillig Exp $
+
+DISTNAME= coccigrep-1.16
+PKGREVISION= 1
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=regit/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://home.regit.org/software/coccigrep/
+COMMENT= Semantic grep for the C language
+LICENSE= gnu-gpl-v3
+
+DEPENDS= coccinelle-[0-9]*:../../devel/coccinelle
+
+USE_LANGUAGES= # none
+
+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/coccigrep/PLIST b/coccigrep/PLIST
new file mode 100644
index 0000000000..22fbdbbf83
--- /dev/null
+++ b/coccigrep/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.2 2015/01/16 11:44:07 wiz 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/named.cocci
+${PYSITELIB}/coccigrep/data/set.cocci
+${PYSITELIB}/coccigrep/data/test.cocci
+${PYSITELIB}/coccigrep/data/used.cocci
+man/man1/coccigrep.1
diff --git a/coccigrep/distinfo b/coccigrep/distinfo
new file mode 100644
index 0000000000..4065029a3c
--- /dev/null
+++ b/coccigrep/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.6 2017/05/05 11:04:15 leot Exp $
+
+SHA1 (coccigrep-1.16.tar.gz) = 4232bd9fec64282f96784bb2f26173b076e19cef
+RMD160 (coccigrep-1.16.tar.gz) = ab9d0093860ed509be22d9fa1faba1a53cd6d5b2
+SHA512 (coccigrep-1.16.tar.gz) = 113c308fd05af6ec8765b719ad4eef9d6c39e123c011aedcd0d3f10782b06f3b94e1c8b5e0c609270441d60ef295ab721a40145cc2fe3ebc11afed348f39b269
+Size (coccigrep-1.16.tar.gz) = 32622 bytes
Home |
Main Index |
Thread Index |
Old Index