1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

Modernize the handling of the GROFF option

PR:		244930
Submitted by:	Dries Michiels <driesm.michiels@gmail.com>
Approved by:	doceng
This commit is contained in:
Mateusz Piotrowski 2020-03-21 23:08:06 +00:00
parent 28f362fae3
commit 271fd25a8d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528887

View File

@ -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