summaryrefslogtreecommitdiffstats
path: root/mail/gnubiff/Makefile
blob: 341cc01761956de240ba08b4e6eeeb2728b2d45d (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
# Created by: Tim Bishop <tim@bishnet.net>
# $FreeBSD$

PORTNAME=	gnubiff
PORTVERSION=	2.2.13
PORTREVISION=	5
CATEGORIES=	mail
MASTER_SITES=	SF

MAINTAINER=	tdb@FreeBSD.org
COMMENT=	Mail notification program for Gnome

OPTIONS_DEFINE=	NLS

LIB_DEPENDS=	libpopt.so:devel/popt

USE_GNOME=	intlhack libglade2 esound
USES=		cpe fam gmake pathfix pkgconfig
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib -lX11

# CXXFLAGS needed to work round issue with gcc and openssl 0.9.8a
# /usr/local/include/openssl/sha.h:173: error: ISO C++ does not support `long long'
CXXFLAGS+=	"-Wno-long-long"

INFO=		gnubiff
CPE_VENDOR=	gnu

.include <bsd.port.options.mk>

.ifdef(WITH_GNUBIFF_PASSWORD)
CONFIGURE_ARGS+=	--with-password
.endif

.if ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+=	--enable-nls
PLIST_SUB+=		NLS=""
USES+=		gettext
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=		NLS="@comment "
.endif

CONFIGURE_ARGS+=	--disable-gnome
PLIST_SUB+=		BONOBODIR="libdata/bonobo"

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