aboutsummaryrefslogtreecommitdiff
path: root/devel/coccinelle/Makefile
blob: b3a3be5b60647ba720a2ed26e701d6a2a0ac2248 (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
# Created by: Andriy Gapon
# $FreeBSD$

PORTNAME=	coccinelle
DISTVERSION=	0.2.4rc5
CATEGORIES=	devel
MASTER_SITES=	http://coccinelle.lip6.fr/distrib/
EXTRACT_SUFX=	.tgz

MAINTAINER=	avg@icyb.net.ua
COMMENT=	Coccinelle is a program matching and transformation engine

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_PERL5_BUILD=yes
USE_PYTHON=	2.5+
USE_OCAML=	3.0+

MAN1=		spatch.1

post-patch:
	@${REINPLACE_CMD} 's|CAMLreturn0|return 0|' \
		${WRKSRC}/pycaml/pycaml_ml.c

.include <bsd.port.mk>