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:
parent
28f362fae3
commit
271fd25a8d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528887
@ -27,10 +27,7 @@ USES= ghostscript:run metaport perl5
|
|||||||
USE_PERL5= run
|
USE_PERL5= run
|
||||||
|
|
||||||
OPTIONS_DEFINE= CJK DBLATEX FOP GROFF IGOR JING SVN TRANSLATOR
|
OPTIONS_DEFINE= CJK DBLATEX FOP GROFF IGOR JING SVN TRANSLATOR
|
||||||
OPTIONS_DEFAULT= CJK IGOR TRANSLATOR
|
OPTIONS_DEFAULT= CJK GROFF IGOR TRANSLATOR
|
||||||
.if !exists(/usr/bin/groff)
|
|
||||||
OPTIONS_DEFAULT+= GROFF
|
|
||||||
.endif
|
|
||||||
.if !exists(/usr/bin/svnlite) && !exists(/usr/bin/svn)
|
.if !exists(/usr/bin/svnlite) && !exists(/usr/bin/svn)
|
||||||
OPTIONS_DEFAULT+= SVN
|
OPTIONS_DEFAULT+= SVN
|
||||||
.endif
|
.endif
|
||||||
@ -49,7 +46,7 @@ DBLATEX_RUN_DEPENDS= dblatex:textproc/dblatex
|
|||||||
DBLATEX_USE= TEX=xetex
|
DBLATEX_USE= TEX=xetex
|
||||||
FOP_RUN_DEPENDS= ${_FONTS} \
|
FOP_RUN_DEPENDS= ${_FONTS} \
|
||||||
fop:textproc/fop
|
fop:textproc/fop
|
||||||
GROFF_RUN_DEPENDS= ${LOCALBASE}/bin/groff:textproc/groff
|
GROFF_USES= groff:run
|
||||||
IGOR_RUN_DEPENDS= igor:textproc/igor
|
IGOR_RUN_DEPENDS= igor:textproc/igor
|
||||||
JING_RUN_DEPENDS= jing:textproc/jing
|
JING_RUN_DEPENDS= jing:textproc/jing
|
||||||
SVN_RUN_DEPENDS= ${LOCALBASE}/bin/svn:devel/subversion
|
SVN_RUN_DEPENDS= ${LOCALBASE}/bin/svn:devel/subversion
|
||||||
|
Loading…
Reference in New Issue
Block a user