blob: 0658545d74451b148da65ee68b1cf70e37e960f6 (
plain)
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
|
# New ports collection makefile for: gfax
# Date created: 20 January 2002
# Whom: John Merryweather Cooper <jmcoopr@webmail.bmi.net>
#
# $FreeBSD$
#
PORTNAME= gfax
PORTVERSION= 0.6.4
PORTREVISION= 1
CATEGORIES= comms print gnome
MASTER_SITES= http://gfax.cowlug.org/
MAINTAINER= coop9211@uidaho.edu
COMMENT= A GNOME-2.x C# pop-up fax manager
BUILD_DEPENDS= ${LOCALBASE}/lib/mono/gtk-sharp/gtk-sharp.dll:${PORTSDIR}/x11-toolkits/gtk-sharp \
bash:${PORTSDIR}/shells/bash2
RUN_DEPENDS= ${BUILD_DEPENDS} \
${LOCALBASE}/bin/sendfax:${PORTSDIR}/comms/hylafax
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_REINPLACE= yes
USE_GNOME= gnomeprefix gnomehier libgnomeprint
.include <bsd.port.pre.mk>
MAKE_ENV+= SETENV="/usr/bin/env" \
MKDIR="/bin/mkdir -p" \
CHMOD="/bin/chmod" \
RM="/bin/rm" \
SH="${LOCALBASE}/bin/bash"
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
${WRKSRC}/gfax \
${WRKSRC}/gfaxlpr \
${WRKSRC}/scripts/printer-setup.sh
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|g' \
${WRKSRC}/gfax ${WRKSRC}/gfaxlpr
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
${WRKSRC}/scripts/printer-setup.sh
do-build:
${SETENV} ${MAKE_ENV} ${GMAKE} -C ${WRKSRC} all
do-install:
${SETENV} ${MAKE_ENV} ${GMAKE} -C ${WRKSRC} install
.include <bsd.port.post.mk>
|