2013-09-21 01:17:30 +02:00
|
|
|
# Created by: Pawel Pekala <pawel@FreeBSD.org>
|
2012-04-15 01:00:32 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= coccigrep
|
2018-05-15 10:40:25 +02:00
|
|
|
PORTVERSION= 1.17
|
2015-05-30 23:25:06 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2012-04-15 01:00:32 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
|
2018-02-24 23:35:18 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-04-15 01:00:32 +02:00
|
|
|
COMMENT= Semantic grep for the C language
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
RUN_DEPENDS= spatch:devel/coccinelle
|
2012-04-15 01:00:32 +02:00
|
|
|
|
2012-09-17 21:41:34 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= regit
|
|
|
|
|
2014-12-07 11:01:36 +01:00
|
|
|
USES= python
|
2017-11-30 16:50:30 +01:00
|
|
|
USE_PYTHON= distutils autoplist concurrent optsuffix
|
2012-04-15 01:00:32 +02:00
|
|
|
|
2013-12-26 22:37:51 +01:00
|
|
|
PLIST_FILES= man/man1/coccigrep.1.gz \
|
|
|
|
${DATADIR_REL}/cocci-grep.el \
|
|
|
|
${DATADIR_REL}/cocci-grep.vim
|
2013-07-10 21:41:30 +02:00
|
|
|
PORTDOCS= ChangeLog README.rst
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2012-04-15 01:00:32 +02:00
|
|
|
|
|
|
|
post-install:
|
2013-12-26 22:37:51 +01:00
|
|
|
${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}
|
2015-12-12 00:04:21 +01:00
|
|
|
|
|
|
|
post-install-DOCS-on:
|
2013-12-26 22:37:51 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2012-04-15 01:00:32 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|