summaryrefslogtreecommitdiffstats
path: root/comms/ghfaxviewer/Makefile
blob: a6f909d886d0033ee3b97a509791d3acb16d31b7 (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
# New ports collection makefile for:    ghfaxviewer
# Date created:         Fri Apr 20 13:08:00  MET DST 2001
# Whom:             Dominik Brettnacher <domi@saargate.de>
#
# $FreeBSD$
#

PORTNAME=   ghfaxviewer
PORTVERSION=    0.22.0
PORTREVISION=   5
CATEGORIES= comms
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= halifax

MAINTAINER= domi@saargate.de
COMMENT=    GNOME compliant fax viewer capable of displaying TIFF G3 faxes

LIB_DEPENDS=    gnomeprint.16:${PORTSDIR}/print/gnome-print \
        gconf-1.1:${PORTSDIR}/devel/gconf \
        tiff.4:${PORTSDIR}/graphics/tiff

USE_GMAKE=  yes
USE_X_PREFIX=   yes
USE_GNOME=  yes
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN1=   halifax.1 ghfaxviewer.1

pre-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
        s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>