aboutsummaryrefslogtreecommitdiffstats
path: root/comms/efax-gtk/Makefile
blob: 98fd21ac5a18d7b0ade72b5bf39915abcd6421c5 (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
# New ports collection makefile for:   efax-gtk
# Whom:                                Jean-Baptiste Quenot <jb.quenot@caraldi.com>
# Date Created:                        2004-02-29 10:33:43
#
# $FreeBSD$
#

PORTNAME=       efax-gtk
PORTVERSION=        3.2.8
CATEGORIES=     comms
MASTER_SITES=       SF
EXTRACT_SUFX=       .src.tgz

MAINTAINER=     pawel@FreeBSD.org
COMMENT=        GUI front end for the efax fax program

LIB_DEPENDS=        sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
            tiff:${PORTSDIR}/graphics/tiff \
            dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS=        ggv:${PORTSDIR}/print/ggv

LICENSE=        GPLv2

USE_ICONV=      yes
USE_GHOSTSCRIPT_RUN=    yes
USE_GNOME=      gtk20
GNU_CONFIGURE=      yes
MAKE_JOBS_SAFE=     yes

MAN1=           efax.1 efix.1 efax-gtk.1

CPPFLAGS+=  -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=   -L${LOCALBASE}/lib ${PTHREAD_LIBS}

CONFIGURE_ARGS+=    --with-gtk-version=gtk2

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.endif

post-install:
    @${ECHO}
    @${ECHO_CMD} "********************************************************************************"
    @${CAT} ${PKGMESSAGE}
    @${ECHO_CMD} "********************************************************************************"
    @${ECHO}

.include <bsd.port.mk>