aboutsummaryrefslogtreecommitdiffstats
path: root/devel/coccinelle/Makefile
blob: 1fb6814fe569cfb24499c7961934867dd00ca4de (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
# 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

USES=       shebangfix gmake perl5
GNU_CONFIGURE=  yes
USE_PERL5=  build
USE_PYTHON= 2.5+
USE_OCAML=  3.0+
SHEBANG_FILES=  configure

MAN1=       spatch.1

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

.include <bsd.port.mk>