mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Use OPTIONS helpers.
This commit is contained in:
parent
d5958f6bf3
commit
f17cf8c978
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360452
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user