svn commit: r360452 - head/arabic/khotot

Adam Weinberger adamw at FreeBSD.org
Thu Jul 3 19:55:22 UTC 2014


Author: adamw
Date: Thu Jul  3 19:55:21 2014
New Revision: 360452
URL: http://svnweb.freebsd.org/changeset/ports/360452
QAT: https://qat.redports.org/buildarchive/r360452/

Log:
  Use OPTIONS helpers.

Modified:
  head/arabic/khotot/Makefile

Modified: head/arabic/khotot/Makefile
==============================================================================
--- head/arabic/khotot/Makefile	Thu Jul  3 19:38:49 2014	(r360451)
+++ head/arabic/khotot/Makefile	Thu Jul  3 19:55:21 2014	(r360452)
@@ -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>


More information about the svn-ports-head mailing list