1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Employ option helpers (for DOCS_VARS) and put the knobs in their logical

order (first USE_*, then build-related, then miscellaneous/custom ones).
This commit is contained in:
Alexey Dokuchaev 2015-10-18 09:50:38 +00:00
parent fad7e57f4b
commit d83ea17acd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399610

View File

@ -14,22 +14,19 @@ COMMENT= TeX/LaTeX package to generate Arabic writing
LICENSE= LPPL10
ARABTEXDIRS= fonts tex
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
USE_TEX= base texmf
NO_WRKSUBDIR= yes
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
ARABTEXDIRS+= doc
.endif
ARABTEXDIRS= fonts tex
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
PLIST_SUB= MKTEXLSR=${MKTEXLSR}
USE_TEX= base texmf
OPTIONS_DEFINE= DOCS
DOCS_VARS= ARABTEXDIRS+=doc
do-install:
.for dir in ${ARABTEXDIRS}