pkgsrc/chat/centerim/Makefile
obache fc1ff94bbd Update centerim to 4.22.5.
Based on patch provided in PR 38624.

'cicqconv' command is renamed for 'cimconv', conflict with centericq is gone away.

2008-04-08 New version (4.22.5) released.
This release fixes various segfaults in the Yahoo protocol. It also introduces a
bar which displays all open chats nicely.

2008-03-29 New version (4.22.4) released.
This release fixes the possible url exploit described in CVE-2008-1467. It also
makes CenterIM ready for the Yahoo protocol change kicking in on 2nd april 2008.

2008-03-11 New version (4.22.3) released.
This version fixes the various ICQ contact list issues (e.g adding contacts
should now work).

2007-12-08 New version (4.22.2) released.
More than 90 fixes/improvements have been added to centerim since our last
release in June. The main fixes included are:

 * Fixed bug in msn login when the server sent a NOT message
 * Fixed bug in ICQ protocol which prevented others from seeing your presence
   (partial)
 * New version tracking/updating (Thanks to David Riebenbauer for this helpful
   feature)
 * Added an "Out for Lunch" state
2008-05-13 15:15:51 +00:00

69 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2008/05/13 15:15:51 obache Exp $
#
DISTNAME= centerim-4.22.5
CATEGORIES= chat
MASTER_SITES= http://www.centerim.org/download/releases/ \
http://transacid.de/centerim/releases/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.centerim.org/
COMMENT= Instant Messenger interface supporting many protocols
PKG_DESTDIR_SUPPORT= user-destdir
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake perl:run
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-ssl --with-openssl=${SSLBASE:Q}
LIBS+= ${LDFLAGS}
REPLACE_PERL= misc/cimconv
INCOMPAT_CURSES+= NetBSD-1.[45]*-* NetBSD-1.6-* NetBSD-1.6.[1-9]-*
INCOMPAT_CURSES+= NetBSD-1.6_*-* NetBSD-1.6.[1-9]_*-* NetBSD-1.6[A-T]-*
INCOMPAT_CURSES+= NetBSD-2.*-* NetBSD-3.*-* # see PR 29060
INCOMPAT_CURSES+= NetBSD-4.*-*
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
CPPFLAGS+= -DAUDIO_PLAYER="\"/usr/bin/audioplay\""
.else
DEPENDS+= sox>=12.17.4:../../audio/sox
EVAL_PREFIX+= SOX_PREFIX=sox
CPPFLAGS+= -DAUDIO_PLAYER="\"${SOX_PREFIX}/bin/play\""
.endif
.if !empty(MACHINE_ARCH:Msparc64)
GCC_REQD+= 3.0 # see PR 29185
.endif
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.if defined(BUILDLINK_LIBICONV_LDADD) && !empty(BUILDLINK_LIBICONV_LDADD)
#
# libiconv depends on configure scripts to include <iconv.h> before
# trying to link against -liconv. Unfortunately, centericq's script
# doesn't do this, so fake it.
#
CONFIGURE_ENV+= ac_cv_lib_iconv_iconv=yes
.endif
post-install:
${INSTALL_MAN} ${WRKSRC}/centerim.1 ${DESTDIR:Q}${PREFIX}/${PKGMANDIR}/man1/
.include "../../mk/bsd.pkg.mk"
.if ${MACHINE_ARCH} == "alpha"
# avoid toolchain bugs
CFLAGS:= ${CFLAGS:C/-O[0-9]*//g}
.endif