summaryrefslogtreecommitdiffstats
path: root/polish/ekg/Makefile
blob: 048aa5b1525bb734c16d9a789b85504cd3876bb3 (plain)
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
# Created by: Jacek Pelka <jacek@combit.com.pl>
# $FreeBSD$

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

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

LIB_DEPENDS=	execinfo:${PORTSDIR}/devel/libexecinfo \
		gadu:${PORTSDIR}/polish/libgadu

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_PKGCONFIG=	build
USES=	pathfix
USE_LDCONFIG=	yes

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

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

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

OPTIONS_DEFINE=		ASPELL OPENSSL
OPTIONS_DEFAULT=	OPENSSL

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MASPELL}
LIB_DEPENDS+=		aspell:${PORTSDIR}/polish/aspell
CONFIGURE_ARGS+=	--enable-aspell
.endif

.if ! ${PORT_OPTIONS:MOPENSSL}
CONFIGURE_ARGS+=	--without-openssl
.endif

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud