6282bb5f90
Changelog: Not available in English or Japanese, only in Chinese. Some functions are added at least.
30 lines
745 B
Makefile
30 lines
745 B
Makefile
# $NetBSD: Makefile,v 1.4 2021/02/20 13:56:07 ryoon Exp $
|
|
|
|
GITHUB_PROJECT= OpenCC
|
|
GITHUB_TAG= ver.${PKGVERSION_NOREV}
|
|
DISTNAME= OpenCC-ver.1.1.1
|
|
PKGNAME= ${DISTNAME:S/OpenCC-ver./opencc-/}
|
|
CATEGORIES= converters chinese
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=BYVoid/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://opencc.byvoid.com/
|
|
COMMENT= Convertion between Traditional and Simplified Chinese
|
|
LICENSE= apache-2.0
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME} # GitHub rule is not relevant for this.
|
|
|
|
USE_CMAKE= yes
|
|
USE_TOOLS+= pkg-config
|
|
USE_LANGUAGES= c c++
|
|
|
|
PKGCONFIG_OVERRIDE+= opencc.pc.in
|
|
|
|
USE_GCC_RUNTIME= yes
|
|
|
|
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/src
|
|
|
|
TEST_TARGET= test
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|