[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / converters / opencc

File: [cvs.NetBSD.org] / pkgsrc / converters / opencc / Makefile (download)

Revision 1.4, Sat Feb 20 13:56:07 2021 UTC (3 years ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.3: +9 -9 lines

opencc: Update to 1.1.1

Changelog:
Not available in English or Japanese, only in Chinese.
Some functions are added at least.

# $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"