aboutsummaryrefslogtreecommitdiffstats
path: root/polish/ekg2/Makefile
blob: a2923e971cae4bc69e47d126412193901622e65a (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
40
41
42
43
44
45
46
47
48
49
50
51
52
# Ports collection makefile for:    ekg2
# Date created:             27 Dec 2005
# Whom:                 Aleksander Fafula <alex@bsdguru.org>
#
# $FreeBSD$

PORTNAME=   ekg2
PORTVERSION=    0.1.1
PORTREVISION=   1
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=    gadu.3:${PORTSDIR}/polish/libgadu \
        expat.6:${PORTSDIR}/textproc/expat2

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_GNOME=  gnomehack pkgconfig
USE_GETTEXT=    yes

CONFIGURE_ARGS+=    --enable-shared \
            --disable-static \
            --enable-dynamic \
            --with-expat \
            --without-aspell \
            --without-gtk \
            --without-libgsm \
            --without-libxosd \
            --without-perl \
            --without-python \
            --without-sqlite3 \
            --without-sqlite \
            --without-gpm-mouse \
            --with-libgadu

CONFIGURE_ENV=      CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
            CFLAGS="${CFLAGS}" \
            LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lintl"
MAKE_ENV=       CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
            LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CFLAGS+=        -I${LOCALBASE}/include

USE_LDCONFIG=       yes

post-patch:
    @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure

.include <bsd.port.mk>