1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/textproc/coccigrep/Makefile
Pawel Pekala 9591d8bafc Update to version 1.13
This new version mainly improves accuracy when matching on the code of complex
projects. It also contains some bugfixes and an improvement to the Vim plugin.
2014-02-11 16:36:09 +00:00

41 lines
992 B
Makefile

# Created by: Pawel Pekala <pawel@FreeBSD.org>
# $FreeBSD$
PORTNAME= coccigrep
PORTVERSION= 1.13
CATEGORIES= textproc
MAINTAINER= pawel@FreeBSD.org
COMMENT= Semantic grep for the C language
LICENSE= GPLv3
RUN_DEPENDS= ${LOCALBASE}/bin/spatch:${PORTSDIR}/devel/coccinelle
USE_GITHUB= yes
GH_ACCOUNT= regit
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= d4eb23e
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
PLIST_FILES= man/man1/coccigrep.1.gz \
${DATADIR_REL}/cocci-grep.el \
${DATADIR_REL}/cocci-grep.vim
PLIST_DIRS= ${DATADIR_REL}
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}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>