aboutsummaryrefslogtreecommitdiffstats
path: root/devel/clint/Makefile
blob: f9531eebe942a03a3f875ac37035e6a4c034f8e5 (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
33
34
35
36
# ex:ts=8
# New ports collection makefile for:    clint
# Date created:         May 1, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   clint
PORTVERSION=    0.1.2
PORTREVISION=   4
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A static source code checker for C++

USE_AUTOTOOLS=  libtool:15
USE_PYTHON= yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  MAKEINFO="makeinfo --no-split"
USE_LDCONFIG=   yes

INFO=       clint

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>