openbsd-ports/net/ekg/Makefile
2022-03-11 19:45:43 +00:00

38 lines
768 B
Makefile

COMMENT= Gadu-Gadu IM protocol client
DISTNAME= ekg-1.7
REVISION= 5
CATEGORIES= net
HOMEPAGE= http://ekg.chmurka.net/
# GPLv2 - LGPL
PERMIT_PACKAGE= Yes
WANTLIB= c crypto gadu curses pthread ssl z
MASTER_SITES= ${HOMEPAGE}archive/
LIB_DEPENDS= net/libgadu
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
CONFIGURE_ARGS= --enable-dynamic \
--with-pthread \
--without-libjpeg \
--without-libgsm \
--without-libungif
# avoid patching numerous duplicate symbols in numerous files
CFLAGS+= -fcommon
NO_TEST= Yes
pre-configure:
# External libgadu support
@cd ${WRKSRC}/src && sed -i 's|"libgadu.h"|<libgadu.h>|' *.c *.h
.include <bsd.port.mk>