Date: Wed, 15 Jan 2014 23:21:00 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339854 - head/chinese/opencc Message-ID: <201401152321.s0FNL0ir077900@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Wed Jan 15 23:20:59 2014 New Revision: 339854 URL: http://svnweb.freebsd.org/changeset/ports/339854 QAT: https://qat.redports.org/buildarchive/r339854/ Log: Support stage Reduce over inclusion of bsd.port.mk by: Use BROKEN_${ARCH} Use options helpers Use OPTIONS_SUB Modified: head/chinese/opencc/Makefile Modified: head/chinese/opencc/Makefile ============================================================================== --- head/chinese/opencc/Makefile Wed Jan 15 23:17:31 2014 (r339853) +++ head/chinese/opencc/Makefile Wed Jan 15 23:20:59 2014 (r339854) @@ -14,28 +14,17 @@ LICENSE= APACHE20 USES= cmake USE_LDCONFIG= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= NLS -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CMAKE_ARGS+= -DENABLE_GETTEXT=On -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -.endif - -.if defined(NOPORTDATA) -IGNORE= thesaurus are required, undefine NOPORTDATA -.endif +NLS_USES= gettext +NLS_CMAKE_ON= -DENABLE_GETTEXT=On + +OPTIONS_SUB= yes + +BROKEN_powerpc= Does not install on powerpc: signal 11 post-patch: @${REINPLACE_CMD} -e 's@/usr/local@${LOCALBASE}@g' \ ${WRKSRC}/CMakeLists.txt -.include <bsd.port.pre.mk> - -.if ${ARCH} == "powerpc" -BROKEN= Does not install on powerpc: signal 11 -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401152321.s0FNL0ir077900>