Update www/piwik to version 2.4.1
[dports.git] / mail / gnubiff / Makefile
1 # Created by: Tim Bishop <tim@bishnet.net>
2 # $FreeBSD$
3
4 PORTNAME=       gnubiff
5 PORTVERSION=    2.2.13
6 PORTREVISION=   4
7 CATEGORIES=     mail
8 MASTER_SITES=   SF
9
10 MAINTAINER=     tdb@FreeBSD.org
11 COMMENT=        Mail notification program for Gnome
12
13 OPTIONS_DEFINE= NLS
14
15 LIB_DEPENDS=    libpopt.so:${PORTSDIR}/devel/popt
16
17 USE_GNOME=      intlhack libglade2 esound
18 USES=           fam gmake pathfix pkgconfig
19 GNU_CONFIGURE=  yes
20 CPPFLAGS+=      -I${LOCALBASE}/include
21 LDFLAGS+=       -L${LOCALBASE}/lib
22
23 # CXXFLAGS needed to work round issue with gcc and openssl 0.9.8a
24 # /usr/local/include/openssl/sha.h:173: error: ISO C++ does not support `long long'
25 CXXFLAGS+=      "-Wno-long-long"
26
27 INFO=           gnubiff
28
29 .include <bsd.port.options.mk>
30
31 .ifdef(WITH_GNUBIFF_PASSWORD)
32 CONFIGURE_ARGS+=        --with-password
33 .endif
34
35 .if ${PORT_OPTIONS:MNLS}
36 CONFIGURE_ARGS+=        --enable-nls
37 PLIST_SUB+=             NLS=""
38 USES+=          gettext
39 .else
40 CONFIGURE_ARGS+=        --disable-nls
41 PLIST_SUB+=             NLS="@comment "
42 .endif
43
44 CONFIGURE_ARGS+=        --disable-gnome
45 PLIST_SUB+=             BONOBODIR="libdata/bonobo"
46
47 .include <bsd.port.mk>