From 271fd25a8dc6be17082447dc6be67c9ba71b590e Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Sat, 21 Mar 2020 23:08:06 +0000 Subject: Modernize the handling of the GROFF option PR: 244930 Submitted by: Dries Michiels Approved by: doceng --- textproc/docproj/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'textproc/docproj') diff --git a/textproc/docproj/Makefile b/textproc/docproj/Makefile index 8517638a038d..3a853a232be9 100644 --- a/textproc/docproj/Makefile +++ b/textproc/docproj/Makefile @@ -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 -- cgit v1.2.3