1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/chinese/opencc/Makefile
Mark Linimon 2baccdbd71 This port sometimes doesn't build. Adding MAKE_JOBS_UNSAFE fixes it.
While here, pet portlint.

PR:		234485
Submitted by:	Piotr Kubaj
Approved by:	maintainer
2019-01-03 15:18:29 +00:00

35 lines
641 B
Makefile

# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
PORTNAME= opencc
PORTVERSION= 1.0.5
DISTVERSIONPREFIX= ver.
PORTREVISION= 2
CATEGORIES= chinese converters
MAINTAINER= lichray@gmail.com
COMMENT= Open Chinese Convert library and utilities
LICENSE= APACHE20
USE_GITHUB= yes
GH_ACCOUNT= BYVoid
GH_PROJECT= OpenCC
USES= cmake compiler:c++11-lib python:build
USE_LDCONFIG= yes
OPTIONS_DEFINE= TESTS
TESTS_DESC= Build the unit testing
TESTS_CMAKE_ON= -DENABLE_GTEST=ON
MAKE_JOBS_UNSAFE= yes
TEST_TARGET= test
post-patch:
@${REINPLACE_CMD} -e "s|python|${PYTHON_CMD}|g" \
${WRKSRC}/data/CMakeLists.txt
.include <bsd.port.mk>