Files
Charlie Li 06a08e69f3 python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

39 lines
951 B
Makefile

PORTNAME= coccigrep
PORTVERSION= 1.20
PORTREVISION= 1
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>