aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/kmerlin/Makefile
blob: e62bdd86e37fb8cd2f447b302131bcb133cb45b6 (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:   kmerlin
# Date created:        20 September 2002
# Whom:                Cédric Lamalle
#
# $FreeBSD$
#

PORTNAME=   kmerlin
PORTVERSION=    1.4.2
PORTREVISION=   9
CATEGORIES= net-im
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    An IM (Instant Messenger) KDE client for the Microsoft MSN Network

DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE=    2013-07-01

USE_XORG=   xscrnsaver
USE_KDELIBS_VER=3
USE_AUTOTOOLS=  libtool
USE_GMAKE=  yes

CONFIGURE_ARGS+=    --prefix=${LOCALBASE}
LDFLAGS+=   ${PTHREAD_LIBS}

post-patch:
.for i in replacepage identityeditdialog identitysetting \
    chatsetting systemnotification
    @${RM} ${WRKSRC}/src/setting/${i}.h ${WRKSRC}/src/setting/${i}.cpp
.endfor
    @${RM} ${WRKSRC}/src/login.h ${WRKSRC}/src/login.cpp
    @${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \
        ${WRKSRC}/${CONFIGURE_SCRIPT}
    @${REINPLACE_CMD} -e 's|;;|;|g;' ${WRKSRC}/src/kmerlindock.h

.include <bsd.port.mk>