mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
6c2f2367a7
- Respect CFLAGS and PTHREAD_LIBS Approved by: maintainer timeout (4 weeks)
37 lines
943 B
Makefile
37 lines
943 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= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= cedric@cedric.trix.net
|
|
COMMENT= An IM (Instant Messenger) KDE client for the Microsoft MSN Network
|
|
|
|
USE_KDELIBS_VER=3
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
|
|
CONFIGURE_ARGS+= --prefix=${LOCALBASE}
|
|
CONFIGURE_ENV= 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}
|
|
|
|
.include <bsd.port.mk>
|