diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-15 23:20:59 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-15 23:20:59 +0000 |
commit | 0717b41424c5c446ce4a7fe3fe2e2fc683e70386 (patch) | |
tree | f8dc86e750935c2884a2b247548d4115cc8ef66b /chinese | |
parent | a8e35256fe9120e0c2c9cf0395f76880c827f4fa (diff) | |
download | ports-0717b41424c5c446ce4a7fe3fe2e2fc683e70386.tar.gz ports-0717b41424c5c446ce4a7fe3fe2e2fc683e70386.zip |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/opencc/Makefile | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/chinese/opencc/Makefile b/chinese/opencc/Makefile index ae780dcdf61d..39d43d03d246 100644 --- a/chinese/opencc/Makefile +++ b/chinese/opencc/Makefile @@ -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 +NLS_USES= gettext +NLS_CMAKE_ON= -DENABLE_GETTEXT=On -.if defined(NOPORTDATA) -IGNORE= thesaurus are required, undefine NOPORTDATA -.endif +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> |