1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/textproc/coccigrep/Makefile
Mathieu Arnold 90a49f0472 Cleanup USE_GITHUB usage.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-30 21:25:06 +00:00

38 lines
905 B
Makefile

# Created by: Pawel Pekala <pawel@FreeBSD.org>
# $FreeBSD$
PORTNAME= coccigrep
PORTVERSION= 1.13
DISTVERSIONPREFIX= v
CATEGORIES= textproc
MAINTAINER= pawel@FreeBSD.org
COMMENT= Semantic grep for the C language
LICENSE= GPLv3
RUN_DEPENDS= spatch:${PORTSDIR}/devel/coccinelle
USE_GITHUB= yes
GH_ACCOUNT= regit
USES= python
USE_PYTHON= distutils autoplist
PLIST_FILES= 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}${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>