blob: 8200715c60d2f68fec4de690c4389beb43f0c496 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: Pawel Pekala <pawel@freebsd.org>
# $FreeBSD$
PORTNAME= coccigrep
PORTVERSION= 1.12
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= 5ca9276
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
MANCOMPRESSED= no
MAN1= coccigrep.1
PORTDOCS= ChangeLog README.rst
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
${INSTALL_MAN} ${WRKSRC}/coccigrep.1 ${MANPREFIX}/man/man1
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/editors/cocci-grep.el ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/editors/cocci-grep.vim ${DATADIR}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.rst ${DOCSDIR}
.endif
.include <bsd.port.mk>
|