mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
784e4c52e1
- Use USE_GNOME= ltverhack to correct the library version number to what the author intended. This effectively rolls the version number backwards, but should prevent future unneccesary version bumps. - Support staging - Use options helpers - Use new LIB_DEPENDS syntax - Bump PORTREVISION on dependent ports
119 lines
2.5 KiB
Makefile
119 lines
2.5 KiB
Makefile
# Created by: Frank Altpeter <frank@altpeter.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= centerim
|
|
PORTVERSION= 4.22.10.11
|
|
PORTREVISION= 2
|
|
CATEGORIES= net-im
|
|
MASTER_SITES= http://www.centerim.org/download/mobshots/ \
|
|
ftp://ftp.centerim.org/mobshots/
|
|
PKGNAMESUFFIX= -devel
|
|
|
|
MAINTAINER= frank@altpeter.de
|
|
COMMENT= Text mode menu- and window-driven IM interface
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
|
|
|
|
USE_PYTHON_RUN= yes
|
|
USES= iconv gmake perl5 pkgconfig
|
|
USE_PERL5= run
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-ssl --with-openssl
|
|
CONFLICTS= centericq-[0-9]* centerim-[0-9]*
|
|
|
|
OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG
|
|
FRIBIDI_DESC= Fribidi Support
|
|
MSN_DESC= MSN Protocol
|
|
YAHOO_DESC= Yahoo! Messenger Protocol
|
|
AIM_DESC= AOL's Instant Messenger Protocol
|
|
IRC_DESC= IRC Protocol
|
|
GPGME_DESC= PGP encrypted Jabber messages
|
|
RSS_DESC= RSS Support
|
|
LJ_DESC= LiveJournal Support
|
|
GG_DESC= Gadu-Gadu Protocol Support
|
|
|
|
OPTIONS_DEFAULT= MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG
|
|
|
|
MAN1= cimconv.1 centerim.1
|
|
|
|
PORTDOCS= FAQ README
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
USES+= gettext
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MMULTIBYTE}
|
|
CONFIGURE_ARGS+= --enable-locales-fix
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MFRIBIDI}
|
|
LIB_DEPENDS+= fribidi.3:${PORTSDIR}/converters/fribidi
|
|
CONFIGURE_ARGS+= --with-fribidi
|
|
.endif
|
|
|
|
.if ! ${PORT_OPTIONS:MMSN}
|
|
CONFIGURE_ARGS+= --disable-msn
|
|
.endif
|
|
|
|
.if ! ${PORT_OPTIONS:MYAHOO}
|
|
CONFIGURE_ARGS+= --disable-yahoo
|
|
.endif
|
|
|
|
.if ! ${PORT_OPTIONS:MAIM}
|
|
CONFIGURE_ARGS+= --disable-aim
|
|
.endif
|
|
|
|
.if ! ${PORT_OPTIONS:MIRC}
|
|
CONFIGURE_ARGS+= --disable-irc
|
|
.endif
|
|
|
|
.if ! ${PORT_OPTIONS:MJABBER}
|
|
CONFIGURE_ARGS+= --disable-jabber
|
|
.else
|
|
.endif
|
|
|
|
.if ! ${PORT_OPTIONS:MGPGME}
|
|
CONFIGURE_ARGS+= --without-gpgme
|
|
.else
|
|
LIB_DEPENDS+= libgpgme.so:${PORTSDIR}/security/gpgme
|
|
#CONFIGURE_ARGS+= --with-gpgme=${LOCALBASE}
|
|
CONFIGURE_ARGS+= --with-ssl
|
|
.endif
|
|
|
|
.if ! ${PORT_OPTIONS:MRSS}
|
|
CONFIGURE_ARGS+= --disable-rss
|
|
.endif
|
|
|
|
.if ! ${PORT_OPTIONS:MLJ}
|
|
CONFIGURE_ARGS+= --disable-lj
|
|
.endif
|
|
|
|
.if ! ${PORT_OPTIONS:MGG}
|
|
CONFIGURE_ARGS+= --disable-gg
|
|
.else
|
|
LIB_DEPENDS+= gadu.3:${PORTSDIR}/polish/ekg
|
|
LIBGADU= -lgadu
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/var/run/screen|/tmp/screens|' \
|
|
${WRKSRC}/src/icqconf.cc
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|