Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2014 19:55:21 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360452 - head/arabic/khotot
Message-ID:  <201407031955.s63JtLvg046838@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407031955.s63JtLvg046838>