aboutsummaryrefslogtreecommitdiffstats
path: root/devel/clint/Makefile
blob: bf81f05635662111127542c9f83ba4e27988b10b (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
28
29
30
31
32
# Created by: ijliao
# $FreeBSD$

PORTNAME=   clint
PORTVERSION=    0.1.2
PORTREVISION=   4
CATEGORIES= devel
MASTER_SITES=   SF

MAINTAINER= eadler@FreeBSD.org
COMMENT=    Static source code checker for C++

LICENSE=    GPLv2

USE_AUTOTOOLS=  libtool
USE_PYTHON= -2.7
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --enable-python=${LOCALBASE}/bin/python2
USE_LDCONFIG=   yes
MAKE_JOBS_UNSAFE=   yes

USES=   gmake

INFO=       clint

NO_STAGE=   yes
post-patch:
    @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
        's|-ldl||g'

.include <bsd.port.mk>