aboutsummaryrefslogtreecommitdiffstats
path: root/polish/ekg/Makefile
blob: a6540451b00d723ce0001ae52d74e832fdffe3bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Created by: Jacek Pelka <jacek@combit.com.pl>
# $FreeBSD$

PORTNAME=   ekg
DISTVERSION=    1.8rc2
PORTREVISION=   2
PORTEPOCH=  3
CATEGORIES= polish net-im
MASTER_SITES=   http://ekg.chmurka.net/

MAINTAINER= pawel@FreeBSD.org
COMMENT=    Text-mode Gadu-Gadu client

LIB_DEPENDS=    libgadu.so:polish/libgadu

GNU_CONFIGURE=  yes
USES=       execinfo gmake ncurses pathfix pkgconfig
USE_LDCONFIG=   yes

CONFIGURE_ARGS= --without-libungif \
        --without-libjpeg \
        --disable-ui-gtk

CFLAGS+=    -I/usr/include -I${LOCALBASE}/include
LDFLAGS+=   -lncurses -L${LOCALBASE}/lib -lexecinfo -pthread

OPTIONS_DEFINE=     ASPELL OPENSSL
OPTIONS_DEFAULT=    OPENSSL

ASPELL_CONFIGURE_ON=    --enable-aspell
ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell
ASPELL_RUN_DEPENDS= pl-aspell>0:polish/aspell

OPENSSL_CONFIGURE_OFF=  --without-openssl

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ekg

.include <bsd.port.mk>