# Created by: Aleksander Fafula # $FreeBSD$ PORTNAME= ekg2 PORTVERSION= 0.3.1 PORTREVISION= 11 PORTEPOCH= 1 CATEGORIES= polish net-im MASTER_SITES= http://pl.ekg2.org/ MAINTAINER= ports@FreeBSD.org COMMENT= Text-mode Gadu-Gadu, Jabber, and IRC client BROKEN= unfetchable DEPRECATED= Unfetchable, unmaintained EXPIRATION_DATE= 2019-10-16 LIB_DEPENDS= libgadu.so:polish/libgadu \ libgnutls.so:security/gnutls \ libexpat.so:textproc/expat2 LICENSE= GPLv2 GNU_CONFIGURE= yes USES= gmake iconv libtool pathfix pkgconfig readline CONFIGURE_ARGS+= --enable-shared \ --disable-static \ --enable-dynamic \ --with-expat \ --without-sqlite \ --without-gpm-mouse \ --with-libgadu \ --without-gif \ --without-libjpeg \ --without-libidn INSTALL_TARGET= install-strip LDFLAGS+= -L${LOCALBASE}/lib -lintl -pthread CFLAGS+= -I${LOCALBASE}/include OPTIONS_DEFINE= ASPELL GPG GSM GTK2 NLS PERL PYTHON SQLITE UNICODE XOSD OPTIONS_DEFAULT=ASPELL OPTIONS_SUB= yes GPG_DESC= GPG plugin GSM_DESC= GSM audio plugin GTK2_DESC= GTK+ 2 plugin PERL_DESC= Perl plugin PYTHON_DESC= Python plugin SQLITE_DESC= SQLite plugin UNICODE_DESC= Unicode support (experimental) XOSD_DESC= Xosd plugin ASPELL_CONFIGURE_WITH= aspell ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell ASPELL_RUN_DEPENDS= ${LOCALBASE}/share/aspell/pl.rws:polish/aspell GPG_CONFIGURE_WITH= gpg GPG_LIB_DEPENDS= libgpgme.so:security/gpgme \ libgpg-error.so:security/libgpg-error GPG_RUN_DEPENDS= gpg:security/gnupg GSM_CONFIGURE_WITH= libgsm GSM_LIB_DEPENDS= libgsm.so:audio/gsm GTK2_CONFIGURE_WITH= gtk GTK2_USE= GNOME=gtk2 NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext PERL_CONFIGURE_WITH= perl PERL_USES= perl5 PYTHON_CONFIGURE_WITH= python PYTHON_USES= python:2.7 shebangfix SHEBANG_FILES= contrib/python/notify-bubble.py SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3 UNICODE_CONFIGURE_ENABLE= unicode XOSD_CONFIGURE_WITH= libxosd XOSD_LIB_DEPENDS= libxosd.so:misc/xosd .include .if ${SSL_DEFAULT} == base BROKEN_FreeBSD_12= variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') BROKEN_FreeBSD_13= variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') .endif post-patch: # needs newer headers for O_NOFOLLOW flag @${REINPLACE_CMD} '/_XOPEN_SOURCE/ s|600|700|' \ ${WRKSRC}/plugins/xmsg/xmsg.c post-patch-UNICODE-on: @${REINPLACE_CMD} -e 's|ncursesw/||' ${WRKSRC}/configure \ ${WRKSRC}/plugins/ncurses/ecurses.h .include