1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

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
This commit is contained in:
Kurt Jaeger 2018-07-15 08:20:28 +00:00
parent 5ab464ec29
commit a1c466d432
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474675

View File

@ -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>