From 90e27a32eeb5a90be20bb79d66a32fdde425a878 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 31 Aug 2003 00:26:01 +0000 Subject: [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 --- comms/tkhylafax/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'comms/tkhylafax/Makefile') 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 -- cgit v1.2.3