2001-05-01 19:28:25 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: clint
|
|
|
|
# Date created: May 1, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= clint
|
|
|
|
PORTVERSION= 0.1.2
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 3
|
2001-05-01 19:28:25 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2002-09-07 05:13:23 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= A static source code checker for C++
|
2001-05-01 19:28:25 +02:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-10-18 19:46:09 +02:00
|
|
|
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
|
2006-08-15 00:55:18 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-05-01 19:28:25 +02:00
|
|
|
|
2003-10-18 19:46:09 +02:00
|
|
|
INFO= clint
|
2003-06-05 00:43:38 +02:00
|
|
|
|
2004-08-16 04:33:05 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 502126
|
2006-04-07 17:55:54 +02:00
|
|
|
BROKEN= Does not compile on FreeBSD >= 5.x
|
2004-10-31 17:52:49 +01:00
|
|
|
USE_GCC= 3.3
|
2004-08-16 04:33:05 +02:00
|
|
|
.endif
|
|
|
|
|
2001-05-01 19:28:25 +02:00
|
|
|
post-patch:
|
2003-10-18 19:46:09 +02:00
|
|
|
@${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'
|
2001-05-01 19:28:25 +02:00
|
|
|
|
2004-08-16 04:33:05 +02:00
|
|
|
.include <bsd.port.post.mk>
|