mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
04d6f52202
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 216707
34 lines
619 B
Makefile
34 lines
619 B
Makefile
# Created by: Zhihao Yuan <lichray@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= opencc
|
|
PORTVERSION= 1.0.4
|
|
PORTREVISION= 1
|
|
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>
|