svn commit: r528887 - head/textproc/docproj

Mateusz Piotrowski 0mp at FreeBSD.org
Sat Mar 21 23:08:07 UTC 2020


Author: 0mp
Date: Sat Mar 21 23:08:06 2020
New Revision: 528887
URL: https://svnweb.freebsd.org/changeset/ports/528887

Log:
  Modernize the handling of the GROFF option
  
  PR:		244930
  Submitted by:	Dries Michiels <driesm.michiels at gmail.com>
  Approved by:	doceng

Modified:
  head/textproc/docproj/Makefile

Modified: head/textproc/docproj/Makefile
==============================================================================
--- head/textproc/docproj/Makefile	Sat Mar 21 23:03:05 2020	(r528886)
+++ head/textproc/docproj/Makefile	Sat Mar 21 23:08:06 2020	(r528887)
@@ -27,10 +27,7 @@ USES=		ghostscript:run metaport perl5
 USE_PERL5=	run
 
 OPTIONS_DEFINE=		CJK DBLATEX FOP GROFF IGOR JING SVN TRANSLATOR
-OPTIONS_DEFAULT=	CJK IGOR TRANSLATOR
-.if !exists(/usr/bin/groff)
-OPTIONS_DEFAULT+=	GROFF
-.endif
+OPTIONS_DEFAULT=	CJK GROFF IGOR TRANSLATOR
 .if !exists(/usr/bin/svnlite) && !exists(/usr/bin/svn)
 OPTIONS_DEFAULT+=	SVN
 .endif
@@ -49,7 +46,7 @@ DBLATEX_RUN_DEPENDS=	dblatex:textproc/dblatex
 DBLATEX_USE=		TEX=xetex
 FOP_RUN_DEPENDS=	${_FONTS} \
 			fop:textproc/fop
-GROFF_RUN_DEPENDS=	${LOCALBASE}/bin/groff:textproc/groff
+GROFF_USES=		groff:run
 IGOR_RUN_DEPENDS=	igor:textproc/igor
 JING_RUN_DEPENDS=	jing:textproc/jing
 SVN_RUN_DEPENDS=	${LOCALBASE}/bin/svn:devel/subversion


More information about the svn-ports-all mailing list