freebsd-ports/chinese/pyzy/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

43 lines
1.2 KiB
Makefile

# Created by: Henry Hu <henry.hu.sh@gmail.com>
# $FreeBSD$
PORTNAME= pyzy
PORTVERSION= 0.1.0
PORTREVISION= 7
CATEGORIES= chinese
MAINTAINER= henry.hu.sh@gmail.com
COMMENT= Chinese PinYin and Bopomofo conversion library
LICENSE= LGPL21
LIB_DEPENDS= libsqlite3.so:databases/sqlite3
USE_GITHUB= yes
GH_TAGNAME= 6d9c3cd
USES= compiler:c++11-lib gmake libtool pkgconfig python:2.7,build shebangfix autoreconf gettext-runtime pathfix
SHEBANG_FILES= data/db/android/create_db.py
USE_GNOME= glib20
USE_LDCONFIG= yes
BROKEN_aarch64= fails to compile: constant expression evaluates to -1
BROKEN_armv6= fails to compile: constant expression evaluates to -1
BROKEN_armv7= fails to compile: constant expression evaluates to -1
BROKEN_powerpc64= fails to compile: narrowing conversion of '-1' from 'int' to 'char'
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-dependency-tracking --disable-boost
OPTIONS_DEFINE= OPENCC
OPTIONS_DEFAULT=
OPTIONS_SUB= yes
OPENCC_DESC= Use opencc for simplified and traditional Chinese conversion
OPENCC_CONFIGURE_ENABLE= opencc
OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-1.0.so
.include <bsd.port.mk>