2001-02-21 15:59:55 +01:00
|
|
|
# ex:ts=8
|
1999-12-25 22:51:44 +01:00
|
|
|
# New ports collection makefile for: centericq
|
|
|
|
# Date created: 25 December 1999
|
|
|
|
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= centericq
|
2003-11-03 17:16:27 +01:00
|
|
|
PORTVERSION= 4.9.8
|
|
|
|
PORTREVISION= 0
|
1999-12-25 22:51:44 +01:00
|
|
|
CATEGORIES= net
|
2003-11-03 09:07:04 +01:00
|
|
|
MASTER_SITES= http://centericq.de/archive/source/releases/
|
1999-12-25 22:51:44 +01:00
|
|
|
|
2003-10-07 05:06:05 +02:00
|
|
|
MAINTAINER= clsung@dragon2.net
|
2003-10-06 17:57:24 +02:00
|
|
|
COMMENT= A text mode menu- and window-driven IM interface
|
1999-12-25 22:51:44 +01:00
|
|
|
|
2003-08-25 07:41:38 +02:00
|
|
|
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext \
|
2003-10-06 17:57:24 +02:00
|
|
|
iconv.3:${PORTSDIR}/converters/libiconv
|
2001-02-02 17:48:32 +01:00
|
|
|
|
2002-12-20 06:33:16 +01:00
|
|
|
USE_OPENSSL= yes
|
2001-08-14 19:47:29 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2003-10-06 17:57:24 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
CXXFLAGS="-I${LOCALBASE}/include"
|
2003-09-04 05:01:45 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lstdc++
|
2003-07-26 20:08:42 +02:00
|
|
|
CONFIGURE_ARGS= --with-openssl --disable-konst
|
2003-10-06 17:57:24 +02:00
|
|
|
|
|
|
|
.if defined(WITH_FRIBIDI)
|
|
|
|
LIB_DEPENDS+= fribidi.0:${PORTSDIR}/converters/fribidi
|
|
|
|
CONFIGURE_ARGS+= --with-fribidi
|
|
|
|
.endif
|
|
|
|
|
2003-11-03 17:16:27 +01:00
|
|
|
.if defined(WITH_MSN)
|
|
|
|
CONFIGURE_ARGS+= --enable-msn
|
|
|
|
EXTRA_PATCHES= ${.CURDIR}/files/msn-*
|
|
|
|
pre-patch:
|
|
|
|
@${ECHO_CMD} "========================================================="
|
|
|
|
@${ECHO_CMD} "=====================Important !!!======================="
|
|
|
|
@${ECHO_CMD} "========================================================="
|
|
|
|
@${ECHO_CMD} "There may be some sticky legal issues with the new"
|
|
|
|
@${ECHO_CMD} "version of this protocol. Users should be aware that they"
|
|
|
|
@${ECHO_CMD} "might be in violation of the DMCA or other laws. If this"
|
|
|
|
@${ECHO_CMD} "is unacceptable, hit Ctrl-C now and remove WITH_MSN from"
|
|
|
|
@${ECHO_CMD} "your make flags. The FreeBSD group assumes no"
|
|
|
|
@${ECHO_CMD} "responsibility or liability for any losses or damages"
|
|
|
|
@${ECHO_CMD} "sustained by use or disuse of software in the ports tree."
|
|
|
|
@${ECHO_CMD} "========================================================="
|
|
|
|
@sleep 5
|
2003-10-06 17:57:24 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_YAHOO)
|
|
|
|
CONFIGURE_ARGS+= --disable-yahoo
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_AIM)
|
|
|
|
CONFIGURE_ARGS+= --disable-aim
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_IRC)
|
|
|
|
CONFIGURE_ARGS+= --disable-irc
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_JABBER)
|
|
|
|
CONFIGURE_ARGS+= --disable-jabber
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_RSS)
|
|
|
|
CONFIGURE_ARGS+= --disable-rss
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_LJ)
|
|
|
|
CONFIGURE_ARGS+= --disable-lj
|
|
|
|
.endif
|
2001-08-14 19:47:29 +02:00
|
|
|
|
2003-11-03 17:16:27 +01:00
|
|
|
MAN1= cicqconv.1 cicqsync.1
|
2001-08-14 19:47:29 +02:00
|
|
|
|
2002-07-16 13:54:09 +02:00
|
|
|
post-patch:
|
|
|
|
.for file in kkconsui-0.1/include/conf.h kkstrtext-0.1/conf.h kksystr-0.1/include/conf.h
|
|
|
|
@(cd ${WRKSRC} ; \
|
|
|
|
${MV} -f ${file} ${file}.orig ; \
|
|
|
|
${GREP} -v "_G_config.h" ${file}.orig > ${file})
|
|
|
|
.endfor
|
2003-10-08 21:03:09 +02:00
|
|
|
|
2002-05-14 04:14:16 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@(cd ${WRKSRC} ; ${INSTALL_DATA} FAQ README ${DOCSDIR})
|
|
|
|
.endif
|
|
|
|
|
2002-10-13 16:26:10 +02:00
|
|
|
.include <bsd.port.mk>
|