aboutsummaryrefslogtreecommitdiffstats
path: root/comms/tkhylafax
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-08-31 08:26:01 +0800
committeredwin <edwin@FreeBSD.org>2003-08-31 08:26:01 +0800
commit33d3cab1c37e40ef70a220d67474d137568f6b01 (patch)
tree77871b8d63aff8d5ffd2cfd364f55b2d74f7e6c2 /comms/tkhylafax
parent2049a030be2d105cf0b5468e695e761c08d1e5f4 (diff)
downloadfreebsd-ports-gnome-33d3cab1c37e40ef70a220d67474d137568f6b01.tar.gz
freebsd-ports-gnome-33d3cab1c37e40ef70a220d67474d137568f6b01.tar.zst
freebsd-ports-gnome-33d3cab1c37e40ef70a220d67474d137568f6b01.zip
[PATCH] comms/tkhylafax: enable choose of ghostscript interpreter
This patch allows the admin of the machine to choose either print/ghostscript-gnu or print/ghostscript-afp1 PR: ports/54922 Submitted by: Jens Rehsack <rehsack@liwing.de>
Diffstat (limited to 'comms/tkhylafax')
-rw-r--r--comms/tkhylafax/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/comms/tkhylafax/Makefile b/comms/tkhylafax/Makefile
index 6004a18981b9..935732509fc4 100644
--- a/comms/tkhylafax/Makefile
+++ b/comms/tkhylafax/Makefile
@@ -14,9 +14,15 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/}
MAINTAINER= ports@FreeBSD.org
COMMENT= A tcl/tk interface to Sam Leffler's fax package
+.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
+GSPORT?= print/ghostscript-afpl
+.else
+GSPORT?= print/ghostscript-gnu
+.endif
+
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 \
sendfax:${PORTSDIR}/comms/hylafax \
- gs:${PORTSDIR}/print/ghostscript-gnu \
+ gs:${PORTSDIR}/${GSPORT} \
gv:${PORTSDIR}/print/gv
WRKSRC= ${WRKDIR}/tkhylafax