aboutsummaryrefslogtreecommitdiffstats
path: root/polish/ekg/Makefile
blob: d97660c705e34f4604df20757adf303064a23fa0 (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
# Ports collection makefile for:   ekg
# Date created:        24 March 2003
# Whom:                Jacek Pelka <jacek@combit.com.pl>
#
# $FreeBSD$

PORTNAME=       ekg
PORTVERSION=        1.5
PORTREVISION=       1
PORTEPOCH=      1
CATEGORIES=     polish net
MASTER_SITES=       http://dev.null.pl/ekg/archive/
DISTNAME=       ${PORTNAME}-${PORTVERSION}

MAINTAINER=     jacek@combit.com.pl
COMMENT=        Text-mode Gadu-Gadu client

LIB_DEPENDS=        aspell.15:${PORTSDIR}/polish/aspell

USE_GMAKE=      yes
GNU_CONFIGURE=      yes
USE_GNOME=      gnomehack pkgconfig
CONFIGURE_ARGS+=    --enable-shared \
            --disable-static \
            --enable-dynamic \
            --enable-aspell \
            --mandir=${PREFIX}/man
CONFIGURE_ENV=      CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
            CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
            LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
MAKE_ENV=       CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
            CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
            LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"

INSTALLS_SHLIB= yes

MAN1=       ekg.1
MANLANG=    "" pl
MANCOMPRESSED=  no

post-install:
    ${STRIP_CMD} ${PREFIX}/bin/ekg
    ${RM} ${PREFIX}/lib/libgadu.so ${PREFIX}/lib/libgadu.so.3
    ${MV} ${PREFIX}/lib/libgadu.so.3.0 ${PREFIX}/lib/libgadu.so.3
    ${LN} -s ${PREFIX}/lib/libgadu.so.3 ${PREFIX}/lib/libgadu.so

.include <bsd.port.mk>