diff options
author | pi <pi@FreeBSD.org> | 2018-07-15 16:20:28 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2018-07-15 16:20:28 +0800 |
commit | 108ffcc3ab4a104824609598e617d0422516cdc9 (patch) | |
tree | 5d243cf68be9760fb426d8196cbeda275ef7595f /print | |
parent | ccc8e1bff8db99082a41e7db26096b3ebc8763bd (diff) | |
download | freebsd-ports-gnome-108ffcc3ab4a104824609598e617d0422516cdc9.tar.gz freebsd-ports-gnome-108ffcc3ab4a104824609598e617d0422516cdc9.tar.zst freebsd-ports-gnome-108ffcc3ab4a104824609598e617d0422516cdc9.zip |
print/fig2dev: fix to build, needs some help to really use ghostscript
- GSEXE was not set during build, causing
fig2dev -L pdf part.fig part.pdf
to fail like this:
sh: -q: not found
Error in ghostcript command
command was: -q -sAutoRotatePages=None -dAutoFilterColorImages=false -dColorImageFilter=/DCTEncode -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -o 'part.pdf' -
Reported by: Anton Shterenlikht <mexas@bristol.ac.uk>
MFH: 2018q3
Diffstat (limited to 'print')
-rw-r--r-- | print/fig2dev/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/print/fig2dev/Makefile b/print/fig2dev/Makefile index 88912dbb4a36..a3f5f7eab8e4 100644 --- a/print/fig2dev/Makefile +++ b/print/fig2dev/Makefile @@ -2,13 +2,15 @@ PORTNAME= fig2dev PORTVERSION= 3.2.7 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= SF/mcj/ MAINTAINER= pi@FreeBSD.org COMMENT= Tools to convert Xfig .fig files -RUN_DEPENDS= ppmtogif:graphics/netpbm +RUN_DEPENDS= ppmtogif:graphics/netpbm \ + gs:print/ghostscript9-agpl-base LIB_DEPENDS= libpng.so:graphics/png CONFLICTS= transfig-* @@ -17,6 +19,7 @@ USES= alias ghostscript:run iconv tar:xz CFLAGS+= -Wno-return-type GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-transfig +CONFIGURE_ARGS+= GSEXE=gs USE_XORG= xpm .include <bsd.port.mk> |