Annotation of pkgsrc/chat/centericq/Makefile, Revision 1.64
1.64 ! sborrill 1: # $NetBSD: Makefile,v 1.63 2007/01/07 09:13:48 rillig Exp $
1.1 hubertf 2: #
3:
1.54 tonio 4: DISTNAME= centericq-4.21.0
1.62 wiz 5: PKGREVISION= 3
1.1 hubertf 6: CATEGORIES= chat
1.61 wiz 7: MASTER_SITES= http://thekonst.net/download/ \
1.41 hubertf 8: http://centericq.de/archive/source/releases/
1.21 jlam 9: EXTRACT_SUFX= .tar.bz2
1.1 hubertf 10:
1.59 jlam 11: MAINTAINER= pkgsrc-users@NetBSD.org
1.61 wiz 12: HOMEPAGE= http://thekonst.net/eng/software/centericq/info.html
1.48 wiz 13: COMMENT= Instant Messenger interface supporting many protocols
1.1 hubertf 14:
1.9 salo 15: USE_PKGLOCALEDIR= yes
1.51 jlam 16: USE_TOOLS+= gmake perl:run
1.36 xtraeme 17: USE_LANGUAGES= c c++
1.21 jlam 18:
1.9 salo 19: GNU_CONFIGURE= yes
1.57 rillig 20: CONFIGURE_ARGS+= --with-ssl --with-openssl=${SSLBASE:Q}
1.60 rillig 21: CONFIGURE_ARGS+= --with-gpgme=${BUILDLINK_PREFIX.gpgme}/bin/gpgme-config
1.56 rillig 22: LIBS+= ${LDFLAGS}
1.21 jlam 23:
1.28 seb 24: REPLACE_PERL= misc/cicqconv
1.17 wiz 25:
1.20 jmc 26: INCOMPAT_CURSES+= NetBSD-1.[45]*-* NetBSD-1.6-* NetBSD-1.6.[1-9]-*
27: INCOMPAT_CURSES+= NetBSD-1.6_*-* NetBSD-1.6.[1-9]_*-* NetBSD-1.6[A-T]-*
1.56 rillig 28: INCOMPAT_CURSES+= NetBSD-2.*-* NetBSD-3.*-* # see PR 29060
1.29 jmmv 29:
1.64 ! sborrill 30: .include "options.mk"
1.29 jmmv 31: .include "../../mk/bsd.prefs.mk"
32:
33: .if ${OPSYS} == "NetBSD"
1.46 uebayasi 34: CPPFLAGS+= -DAUDIO_PLAYER="\"/usr/bin/audioplay\""
1.29 jmmv 35: .else
36: DEPENDS+= sox>=12.17.4:../../audio/sox
37: EVAL_PREFIX+= SOX_PREFIX=sox
1.46 uebayasi 38: CPPFLAGS+= -DAUDIO_PLAYER="\"${SOX_PREFIX}/bin/play\""
1.29 jmmv 39: .endif
1.8 jlam 40:
1.45 hubertf 41: .if !empty(MACHINE_ARCH:Msparc64)
1.60 rillig 42: GCC_REQD+= 3.0 # see PR 29185
1.45 hubertf 43: .endif
44:
1.36 xtraeme 45: .include "../../converters/libiconv/buildlink3.mk"
46: .include "../../devel/gettext-lib/buildlink3.mk"
47: .include "../../devel/ncurses/buildlink3.mk"
48: .include "../../security/openssl/buildlink3.mk"
1.39 hubertf 49: .include "../../www/curl/buildlink3.mk"
1.22 jlam 50:
51: .if defined(BUILDLINK_LIBICONV_LDADD) && !empty(BUILDLINK_LIBICONV_LDADD)
52: #
53: # libiconv depends on configure scripts to include <iconv.h> before
54: # trying to link against -liconv. Unfortunately, centericq's script
55: # doesn't do this, so fake it.
56: #
57: CONFIGURE_ENV+= ac_cv_lib_iconv_iconv=yes
58: .endif
1.33 xtraeme 59:
60: post-install:
1.63 rillig 61: ${INSTALL_MAN} ${WRKSRC}/centericq.1 ${PREFIX}/${PKGMANDIR}/man1/
1.1 hubertf 62:
1.8 jlam 63: .include "../../mk/bsd.pkg.mk"
1.7 dmcmahil 64:
1.8 jlam 65: .if ${MACHINE_ARCH} == "alpha"
1.7 dmcmahil 66: # avoid toolchain bugs
67: CFLAGS:= ${CFLAGS:C/-O[0-9]*//g}
1.6 hubertf 68: .endif
CVSweb <webmaster@jp.NetBSD.org>