aboutsummaryrefslogtreecommitdiff
path: root/graphics/sam2p
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-08-31 00:42:39 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-08-31 00:42:39 +0000
commit53cb43037f7d08ccc8d413b1ef630757f8b6be22 (patch)
tree1e320f478a6734230c227a6da6c2756ac2767a5c /graphics/sam2p
parentd76fc20029c84bd832470c562c6ee88239d965de (diff)
downloadports-53cb43037f7d08ccc8d413b1ef630757f8b6be22.tar.gz
ports-53cb43037f7d08ccc8d413b1ef630757f8b6be22.zip
[PATCH] graphics/sam2p: 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/54935 Submitted by: Jens Rehsack <rehsack@liwing.de>
Notes
Notes: svn path=/head/; revision=88133
Diffstat (limited to 'graphics/sam2p')
-rw-r--r--graphics/sam2p/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/sam2p/Makefile b/graphics/sam2p/Makefile
index c3b76e9364fa..549a76daa8da 100644
--- a/graphics/sam2p/Makefile
+++ b/graphics/sam2p/Makefile
@@ -14,9 +14,15 @@ MASTER_SITES= http://www.inf.bme.hu/~pts/
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts raster (bitmap) image formats into PS or PDF files
+.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
+GSPORT?= print/ghostscript-afpl
+.else
+GSPORT?= print/ghostscript-gnu
+.endif
+
BUILD_DEPENDS= tif22pnm:${PORTSDIR}/graphics/tif22pnm \
tifftopnm:${PORTSDIR}/graphics/netpbm \
- gs:${PORTSDIR}/print/ghostscript-gnu \
+ gs:${PORTSDIR}/${GSPORT} \
zip:${PORTSDIR}/archivers/zip \
bash:${PORTSDIR}/shells/bash2
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg