freebsd-ports/textproc/coccigrep/Makefile
Fernando Apesteguía e636f8066b textproc/coccigrep: update to 1.19
ChangeLog: https://github.com/regit/coccigrep/releases/tag/v1.19

Accummulated changes:

* Address a issue with pygments installation on Python 2 and fix parallel
  execution.

* This release fixes #19 and improve matching capabilities. Issue was linked to
  absolute include (like #include <toto.h>) used in a project instead of the
  classical relative include (include "toto.h").

Reported by:	portscout
2020-04-06 11:45:45 +00:00

39 lines
937 B
Makefile

# Created by: Pawel Pekala <pawel@FreeBSD.org>
# $FreeBSD$
PORTNAME= coccigrep
PORTVERSION= 1.19
DISTVERSIONPREFIX= v
CATEGORIES= textproc
MAINTAINER= ports@FreeBSD.org
COMMENT= Semantic grep for the C language
LICENSE= GPLv3
RUN_DEPENDS= spatch:devel/coccinelle
USES= python
USE_PYTHON= distutils autoplist concurrent optsuffix
USE_GITHUB= yes
GH_ACCOUNT= regit
PLIST_FILES= man/man1/coccigrep.1.gz \
${DATADIR_REL}/cocci-grep.el \
${DATADIR_REL}/cocci-grep.vim
PORTDOCS= ChangeLog README.rst
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_MAN} ${WRKSRC}/coccigrep.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/editors/cocci-grep.el ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/editors/cocci-grep.vim ${STAGEDIR}${DATADIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>