aboutsummaryrefslogtreecommitdiff
path: root/comms/gfax/Makefile
blob: 300c4193d391da97a4cdb7ebbef3429d86a09952 (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
# New ports collection makefile for:	gfax
# Date created:			20 January 2002
# Whom:				John Merryweather Cooper <jmcoopr@webmail.bmi.net>
#
# $FreeBSD$
#   $Id: Makefile,v 1.16 2007/01/30 00:19:26 tmclau02 Exp $
#

PORTNAME=	gfax
PORTVERSION=	0.7.6
PORTREVISION=	4
CATEGORIES=	comms print gnome
MASTER_SITES=	http://gfax.cowlug.org/

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

BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash \
		${LOCALBASE}/libdata/pkgconfig/evolution-sharp.pc:${PORTSDIR}/mail/evolution-sharp
RUN_DEPENDS=	${LOCALBASE}/bin/sendfax:${PORTSDIR}/comms/hylafax \
		bash:${PORTSDIR}/shells/bash \
		${LOCALBASE}/libdata/pkgconfig/evolution-sharp.pc:${PORTSDIR}/mail/evolution-sharp

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	gnomeprefix gnomehier libgnomeprint gnomesharp20
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 "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.mk>