summaryrefslogtreecommitdiff
path: root/comms/tkhylafax/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-08-31 00:26:01 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-08-31 00:26:01 +0000
commit90e27a32eeb5a90be20bb79d66a32fdde425a878 (patch)
treed1ae44d91a94c291dd80e9fa3906df09e8919f91 /comms/tkhylafax/Makefile
parent[PATCH] chinese/moefonts-cid: enable choose of ghostscript interpreter (diff)
[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>
Notes
Notes: svn path=/head/; revision=88123
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