summaryrefslogtreecommitdiff
path: root/comms/tkhylafax/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/tkhylafax/Makefile')
-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