aboutsummaryrefslogtreecommitdiff
path: root/arabic
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-03 19:55:21 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-03 19:55:21 +0000
commitf17cf8c9786b400503bd400ffe92b1522d86e8e2 (patch)
tree870335d9171f34cb9f4b5d59e9495b90aad4feff /arabic
parentd5958f6bf379e6ad7c37dc23acee5583422139d8 (diff)
downloadports-f17cf8c9786b400503bd400ffe92b1522d86e8e2.tar.gz
ports-f17cf8c9786b400503bd400ffe92b1522d86e8e2.zip
Use OPTIONS helpers.
Notes
Notes: svn path=/head/; revision=360452
Diffstat (limited to 'arabic')
-rw-r--r--arabic/khotot/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/arabic/khotot/Makefile b/arabic/khotot/Makefile
index 2e72744f4c1d..5afac2a5862b 100644
--- a/arabic/khotot/Makefile
+++ b/arabic/khotot/Makefile
@@ -17,24 +17,14 @@ NO_INSTALL= yes
SUB_FILES= pkg-message
OPTIONS_DEFINE= MONO AEFONTS KACST
-OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
+OPTIONS_DEFAULT=${OPTIONS_DEFINE}
MONO_DESC= Install Arabic PCF fonts
AEFONTS_DESC= Install Arabeyes project TrueType fonts
KACST_DESC= Install King AbdulAziz University fonts
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMONO}
-RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/ae_fonts_mono/fonts.dir:${PORTSDIR}/arabic/ae_fonts_mono
-.endif
-
-.if ${PORT_OPTIONS:MAEFONTS}
-RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/ae_fonts1/AAHS/fonts.dir:${PORTSDIR}/arabic/ae_fonts_ttf
-.endif
-
-.if ${PORT_OPTIONS:MKACST}
-RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/kacst_fonts/fonts.dir:${PORTSDIR}/arabic/kacst_fonts
-.endif
+MONO_RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/ae_fonts_mono/fonts.dir:${PORTSDIR}/arabic/ae_fonts_mono
+AEFONTS_RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/ae_fonts1/AAHS/fonts.dir:${PORTSDIR}/arabic/ae_fonts_ttf
+KACST_RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/kacst_fonts/fonts.dir:${PORTSDIR}/arabic/kacst_fonts
.include <bsd.port.mk>