diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-31 08:42:39 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-31 08:42:39 +0800 |
commit | 7d2a9a684835dc14c00c8cac7fe04952c4744a64 (patch) | |
tree | 45cbe73a5a9362ac65c97cec324956b217d91121 /graphics | |
parent | 32cf729c397ba160dbef8bebd285de629d8ee5f9 (diff) | |
download | freebsd-ports-gnome-7d2a9a684835dc14c00c8cac7fe04952c4744a64.tar.gz freebsd-ports-gnome-7d2a9a684835dc14c00c8cac7fe04952c4744a64.tar.zst freebsd-ports-gnome-7d2a9a684835dc14c00c8cac7fe04952c4744a64.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>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/sam2p/Makefile | 8 |
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 |