aboutsummaryrefslogtreecommitdiffstats
path: root/comms/gfax/Makefile
blob: 5a8617f4c2ffb25511bc99c49bd45fc2e65be805 (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
# New ports collection makefile for:    gfax
# Date created:         20 January 2002
# Whom:             John Merryweather Cooper <jmcoopr@webmail.bmi.net>
#
# $Id: Makefile,v 1.8 2005/06/15 02:10:28 tmclau02 Exp $
# $FreeBSD$
#

PORTNAME=   gfax
PORTVERSION=    0.7.3
PORTREVISION=   2
CATEGORIES= comms print gnome
MASTER_SITES=   http://gfax.cowlug.org/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-1

MAINTAINER= bsd-sharp-list@forge.novell.com
COMMENT=    A Mono based pop-up fax manager

BUILD_DEPENDS=  ${X11BASE}/lib/mono/gtk-sharp/gtk-sharp.dll:${PORTSDIR}/x11-toolkits/gtk-sharp \
        bash:${PORTSDIR}/shells/bash2
RUN_DEPENDS=    ${X11BASE}/lib/mono/gtk-sharp/gtk-sharp.dll:${PORTSDIR}/x11-toolkits/gtk-sharp \
        ${LOCALBASE}/bin/sendfax:${PORTSDIR}/comms/hylafax \
        bash:${PORTSDIR}/shells/bash2

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_LIBTOOL_VER=15
USE_REINPLACE=  yes
USE_GNOME=  gnomeprefix gnomehier libgnomeprint
STRIP=

GCONF_SCHEMAS=gfax.schemas

post-patch:
    @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
        ${WRKSRC}/gfax.in \
        ${WRKSRC}/gfaxlpr.in \
        ${WRKSRC}/scripts/printer-setup.sh
    @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
        ${WRKSRC}/scripts/printer-setup.sh

.include <bsd.port.mk>