aboutsummaryrefslogtreecommitdiffstats
path: root/comms/efax-gtk/Makefile
blob: a366c670a9d2dabef20c233a6694bed3c9b6c55d (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
# Created by: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
# $FreeBSD$

PORTNAME=   efax-gtk
PORTVERSION=    3.2.12
PORTREVISION=   1
CATEGORIES= comms
MASTER_SITES=   SF
EXTRACT_SUFX=   .src.tgz

MAINTAINER= pawel@FreeBSD.org
COMMENT=    GUI frontend for efax program

LICENSE=    GPLv2

LIB_DEPENDS=    libsigc-1.2.so:${PORTSDIR}/devel/libsigc++12 \
        libcxx-gtk-utils-2-2.2.so:${PORTSDIR}/x11-toolkits/c++-gtk-utils
RUN_DEPENDS=    ggv:${PORTSDIR}/print/ggv

USES=       pkgconfig
USE_GHOSTSCRIPT_RUN=yes
USE_GNOME=  gtk20
GNU_CONFIGURE=  yes
USE_GCC=    4.6+

CONFLICTS=  efax-[0-9]*

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

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib -pthread -lintl

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

OPTIONS_DEFINE= NLS
OPTIONS_SUB=    yes

NLS_CONFIGURE_OFF=  --disable-nls
NLS_USES=       gettext

NO_STAGE=   yes
.include <bsd.port.options.mk>

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

.include <bsd.port.mk>