Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2018 08:25:28 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r474676 - branches/2018Q3/print/fig2dev
Message-ID:  <201807150825.w6F8PS0j011885@repo.freebsd.org>

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

Log:
  MFH: r474675
  
  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>
  Approved by:	portmgr	(runtime fix blanket approval)

Modified:
  branches/2018Q3/print/fig2dev/Makefile
Directory Properties:
  branches/2018Q3/   (props changed)

Modified: branches/2018Q3/print/fig2dev/Makefile
==============================================================================
--- branches/2018Q3/print/fig2dev/Makefile	Sun Jul 15 08:20:28 2018	(r474675)
+++ branches/2018Q3/print/fig2dev/Makefile	Sun Jul 15 08:25:28 2018	(r474676)
@@ -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?201807150825.w6F8PS0j011885>