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
|
2014-02-11 17:36:09 +01:00
|
|
|
PORTVERSION= 1.13
|
2012-04-15 01:00:32 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
|
|
|
|
MAINTAINER= pawel@FreeBSD.org
|
|
|
|
COMMENT= Semantic grep for the C language
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/spatch:${PORTSDIR}/devel/coccinelle
|
|
|
|
|
2012-09-17 21:41:34 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= regit
|
2012-12-27 20:37:02 +01:00
|
|
|
GH_TAGNAME= v${PORTVERSION}
|
2014-02-11 17:36:09 +01:00
|
|
|
GH_COMMIT= d4eb23e
|
2012-09-17 21:41:34 +02:00
|
|
|
|
2012-04-15 01:00:32 +02:00
|
|
|
USE_PYTHON= yes
|
2013-12-26 22:37:51 +01:00
|
|
|
USE_PYDISTUTILS=yes
|
|
|
|
PYDISTUTILS_AUTOPLIST= yes
|
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
|
|
|
|
PLIST_DIRS= ${DATADIR_REL}
|
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}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2012-04-15 01:00:32 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|