aboutsummaryrefslogtreecommitdiffstats
path: root/devel/coccinelle/Makefile
blob: 8ea9573ae4ba6677894954a2d30ebb16f27b63d2 (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
27
# 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

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

.include <bsd.port.mk>