aboutsummaryrefslogtreecommitdiffstats
path: root/arabic
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2015-10-18 17:50:38 +0800
committerdanfe <danfe@FreeBSD.org>2015-10-18 17:50:38 +0800
commit285579670a7e29f938fbb66d1f2907efd2a70e64 (patch)
tree8dc6de8f6074a131a8bf5dc62c7a5478b70ad892 /arabic
parent857d14d3211ec833ccae1ac40953a140c3fd23ca (diff)
downloadfreebsd-ports-gnome-285579670a7e29f938fbb66d1f2907efd2a70e64.tar.gz
freebsd-ports-gnome-285579670a7e29f938fbb66d1f2907efd2a70e64.tar.zst
freebsd-ports-gnome-285579670a7e29f938fbb66d1f2907efd2a70e64.zip
Employ option helpers (for DOCS_VARS) and put the knobs in their logical
order (first USE_*, then build-related, then miscellaneous/custom ones).
Diffstat (limited to 'arabic')
-rw-r--r--arabic/arabtex/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/arabic/arabtex/Makefile b/arabic/arabtex/Makefile
index 0922a994688a..daabea9bba05 100644
--- a/arabic/arabtex/Makefile
+++ b/arabic/arabtex/Makefile
@@ -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}