freebsd-ports/polish/ekg/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

56 lines
1.2 KiB
Makefile

# Ports collection makefile for: ekg
# Date created: 24 March 2003
# Whom: Jacek Pelka <jacek@combit.com.pl>
#
# $FreeBSD$
PORTNAME= ekg
DISTVERSION= 1.8rc1
PORTEPOCH= 2
CATEGORIES= polish net-im
MASTER_SITES= http://ekg.chmurka.net/
MAINTAINER= bartlomiej@syryjczyk.name
COMMENT= Text-mode Gadu-Gadu client
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo \
gadu.3:${PORTSDIR}/polish/libgadu
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack pkgconfig
CONFIGURE_ARGS+=--disable-shared \
--disable-static \
--enable-dynamic \
--disable-libgadu-openssl \
--without-libungif \
--without-libjpeg
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo ${PTHREAD_LIBS}
CFLAGS+= -I${LOCALBASE}/include
OPTIONS= ASPELL "Build with ASPELL support" off \
OPENSSL "Build with OPENSSL support" on
.include <bsd.port.pre.mk>
.if defined(WITH_ASPELL)
LIB_DEPENDS+= aspell.16:${PORTSDIR}/polish/aspell
CONFIGURE_ARGS+= --enable-aspell
.endif
.if defined(WITHOUT_OPENSSL)
CONFIGURE_ARGS+= --without-openssl
.endif
USE_LDCONFIG= yes
MAN1= ekg.1
MANLANG= "" pl
MANCOMPRESSED= no
post-install:
${STRIP_CMD} ${PREFIX}/bin/ekg
.include <bsd.port.post.mk>