aboutsummaryrefslogtreecommitdiff
path: root/ftp/weex/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-03 18:18:02 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-03 18:18:02 +0000
commit660fc56a8271307f10301a4a1f1978186d01f4c5 (patch)
treeb536625912e0dbf4d80e3e4ce6844a97d066e3da /ftp/weex/Makefile
parentbd1c82afd5fab20a6f03dbf17222a7c7ac90f1fb (diff)
downloadports-660fc56a8271307f10301a4a1f1978186d01f4c5.tar.gz
ports-660fc56a8271307f10301a4a1f1978186d01f4c5.zip
Resolve unnecessary bsd.port.options.mk inclusion by using OPTIONS helpers.
Approved by: portmgr (blanket)
Notes
Notes: svn path=/head/; revision=360440
Diffstat (limited to 'ftp/weex/Makefile')
-rw-r--r--ftp/weex/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/ftp/weex/Makefile b/ftp/weex/Makefile
index 22d48242a8eb..6eaf9337c275 100644
--- a/ftp/weex/Makefile
+++ b/ftp/weex/Makefile
@@ -15,16 +15,10 @@ GNU_CONFIGURE= yes
PORTDOCS= ChangeLog README
OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
post-patch:
@${REINPLACE_CMD} -e 's|^\(SUBDIRS.*\)debian|\1|' \