freebsd-ports/chinese/opencc/Makefile
Sunpoet Po-Chuan Hsieh b180085a9b - Remove MASTER_SITES
Approved by:	portmgr (blanket)
2016-12-17 12:53:09 +00:00

33 lines
603 B
Makefile

# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
PORTNAME= opencc
PORTVERSION= 1.0.4
DISTVERSIONPREFIX= ver.
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
TEST_TARGET= test
post-patch:
@${REINPLACE_CMD} -e "s|python|${PYTHON_CMD}|g" \
${WRKSRC}/data/CMakeLists.txt
.include <bsd.port.mk>