Files
ports/textproc/coccigrep/Makefile
Rodrigo Osorio f24f05b432 textproc/coccigrep: update 1.20 -> 1.21
Changelog: https://github.com/regit/coccigrep/releases/tag/v1.21

Major changes: fixes compatibility with Python 3.12
2026-03-09 17:08:13 +01:00

38 lines
935 B
Makefile

PORTNAME= coccigrep
PORTVERSION= 1.21
DISTVERSIONPREFIX= v
CATEGORIES= textproc
MAINTAINER= ports@FreeBSD.org
COMMENT= Semantic grep for the C language
WWW= https://home.regit.org/software/coccigrep/
LICENSE= GPLv3
RUN_DEPENDS= spatch:devel/coccinelle
USES= python
USE_PYTHON= distutils autoplist concurrent optsuffix
USE_GITHUB= yes
GH_ACCOUNT= regit
PLIST_FILES= share/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}${PREFIX}/share/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>