summaryrefslogtreecommitdiffstats
path: root/net-im/simicq/Makefile
blob: f336f7e56dc6345ac4169eded35e7f9dc8a6968e (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
32
33
34
35
36
37
38
39
40
# New Ports Collection Makefile for:	sim-icq
# Date created:				4 Nov 2002
# Whom:					Josef El-Rayes <j.el-rayes@daemon.li>
#
# $FreeBSD$

PORTNAME=	simicq
PORTVERSION=	0.8.1
CATEGORIES=	net kde
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME:S/mi/m-i/}
DISTNAME=	${PORTNAME:S/icq//}-${PORTVERSION}

MAINTAINER=	j.el-rayes@daemon.li

USE_GMAKE=	yes
USE_QT_VER=	3
GNU_CONFIGURE=	yes
.if !defined(WITHOUT_SSL)
USE_OPENSSL=	yes
.else
CONFIGURE_ARGS+=--disable-openssl
.endif
CONFIGURE_TARGET=
CONFIGURE_ARGS+=	 --disable-fast-perl \
		--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

.if defined(WITHOUT_KDE)
CONFIGURE_ARGS+=	--disable-kde --enable-mt
USE_REINPLACE=	yes
.else
USE_KDELIBS_VER=	3
.endif

post-patch:
.if defined(WITHOUT_KDE)
	${REINPLACE_CMD} -e "s,qtlib=\"qt\",qtlib=\"qt-mt -pthread\"," ${WRKSRC}/configure
.endif

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