1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/polish/ekg2/Makefile
Antoine Brodin 2a55112ee2 Mark BROKEN on FreeBSD 12 and 13
Reported by:	pkg-fallout
MFH:		2019Q2
2019-04-06 19:48:15 +00:00

101 lines
2.4 KiB
Makefile

# Created by: Aleksander Fafula <alex@bsdguru.org>
# $FreeBSD$
PORTNAME= ekg2
PORTVERSION= 0.3.1
PORTREVISION= 10
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
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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>