Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2018 08:20:29 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474675 - head/print/fig2dev
Message-ID:  <201807150820.w6F8KTv5006932@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Jul 15 08:20:28 2018
New Revision: 474675
URL: https://svnweb.freebsd.org/changeset/ports/474675

Log:
  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

Modified:
  head/print/fig2dev/Makefile

Modified: head/print/fig2dev/Makefile
==============================================================================
--- head/print/fig2dev/Makefile	Sun Jul 15 08:17:42 2018	(r474674)
+++ head/print/fig2dev/Makefile	Sun Jul 15 08:20:28 2018	(r474675)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807150820.w6F8KTv5006932>