freebsd-ports/net-im/kmerlin/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

36 lines
952 B
Makefile

# New ports collection makefile for: kmerlin
# Date created: 20 September 2002
# Whom: Cédric Lamalle
#
# $FreeBSD$
#
PORTNAME= kmerlin
PORTVERSION= 1.4.2
PORTREVISION= 8
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
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>