Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2019 04:23:23 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499075 - head/textproc/groff
Message-ID:  <201904160423.x3G4NNpD020736@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Apr 16 04:23:23 2019
New Revision: 499075
URL: https://svnweb.freebsd.org/changeset/ports/499075

Log:
  Add a new option URWFONTS
  
  This options allows to disable at build time dependency on gsfonts and
  ghostcript, to reduce the number of dependency for minimal setup.
  
  Note that ghostscript and gsfonts are only needed at build time otherwise (mark
  ghostscritp as such in any case now) and they are needed for some usage of
  gropdf.
  
  Reported by:	Zeus Panchenko <zeus@ibs.dn.ua>

Modified:
  head/textproc/groff/Makefile

Modified: head/textproc/groff/Makefile
==============================================================================
--- head/textproc/groff/Makefile	Tue Apr 16 04:22:57 2019	(r499074)
+++ head/textproc/groff/Makefile	Tue Apr 16 04:23:23 2019	(r499075)
@@ -3,6 +3,7 @@
 
 PORTNAME=	groff
 PORTVERSION=	1.22.4
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	GNU
 
@@ -11,13 +12,12 @@ COMMENT=	Software typesetting package
 
 LICENSE=	GPLv3
 
-BUILD_DEPENDS=	gsfonts>=0:print/gsfonts \
-		psselect:print/psutils
+BUILD_DEPENDS=	psselect:print/psutils
 RUN_DEPENDS:=	psselect:print/psutils
 
 MAKE_JOBS_UNSAFE=	yes
 
-USES=		cpe ghostscript gmake perl5 shebangfix makeinfo
+USES=		cpe gmake perl5 shebangfix makeinfo
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--with-awk=/usr/bin/awk
 CONFIGURE_ENV+=	PERLPATH=${perl_CMD} # shebangfix
@@ -43,9 +43,10 @@ PAPERSIZE=A4
 CONFIGURE_ENV+=	PAGE=${PAPERSIZE}
 .endif
 
-OPTIONS_DEFINE=	X11
+OPTIONS_DEFINE=	X11 URWFONTS
 X11_DESC=	X11 devices (-TX*) and gxditview
-OPTIONS_DEFAULT=	X11
+URWFONTS_DESC=	URW fonts support (needed for growpdf)
+OPTIONS_DEFAULT=	X11 URWFONTS
 
 CONFLICTS=	ja-groff-[0-9]*
 
@@ -54,6 +55,10 @@ INFO=	groff
 DATADIR=	${PREFIX}/share/${PORTNAME}/${PORTVERSION}
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
 EXAMPLESDIR=	${DOCSDIR}/examples
+
+URWFONTS_CONFIGURE_OFF=	--without-urw-fonts-dir
+URWFONTS_USES=	ghostscript:build
+URWFONTS_BUILD_DEPENDS=	gsfonts>=0:print/gsfonts
 
 .include <bsd.port.options.mk>
 



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