aboutsummaryrefslogtreecommitdiff
path: root/net/eva/Makefile
blob: 6eb2d3631b88f9d57b7e91e6d3400471c3922cf0 (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
37
38
# New ports collection makefile for:	eva
# Date created:			16 April 2005
# Whom:				hamigua <hamigua@cuc.cn>
#
# $FreeBSD$
#

PORTNAME=	eva
PORTVERSION=	0.3.2
CATEGORIES=	net kde
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	evaq
DISTNAME=	${PORTNAME}-${PORTVERSION}-1

MAINTAINER=	hamigua@cuc.cn
COMMENT=	QQ IM Client for KDE3

USE_KDELIBS_VER=3
GNU_CONFIGURE=	yes
USE_REINPLACE=	yes
USE_GMAKE=	yes
USE_BZIP2=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=	"does not compile"
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|^\(LIBS\ =\ @LIBS@\)|\1 -pthread|' \
		${WRKSRC}/src/Makefile.in
	@${REINPLACE_CMD} -e 's/-pedantic //g; s/-O2//g; \
		s/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure

.include <bsd.port.post.mk>