aboutsummaryrefslogtreecommitdiff
path: root/textproc/docproj
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-03-21 23:08:06 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-03-21 23:08:06 +0000
commit271fd25a8dc6be17082447dc6be67c9ba71b590e (patch)
tree1c41e601a80c100a050524146a2d229dc1a78c0a /textproc/docproj
parent28f362fae3196d15840c54d6a04ddd8f239e610c (diff)
downloadports-271fd25a8dc6be17082447dc6be67c9ba71b590e.tar.gz
ports-271fd25a8dc6be17082447dc6be67c9ba71b590e.zip
Modernize the handling of the GROFF option
PR: 244930 Submitted by: Dries Michiels <driesm.michiels@gmail.com> Approved by: doceng
Notes
Notes: svn path=/head/; revision=528887
Diffstat (limited to 'textproc/docproj')
-rw-r--r--textproc/docproj/Makefile7
1 files changed, 2 insertions, 5 deletions
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