summaryrefslogtreecommitdiffstats
path: root/devel/clint/Makefile
blob: 9cfdcc7fdd4ce0376fb3ca8167cb3080ada2d012 (plain)
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
# 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

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud