Chinese conversion project, providing high quality thesaurus and libopencc, as well as a conversion utility and a dictionary generator. bsdconv is a BSD licensed charset/encoding converter library with more function than libiconv. (Currently, only a few codecs are supported) This port is a opencc conversion module for bsdconv. WWW: https://github.com/buganini/bsdconv-opencc PR: ports/172266 Submitted by: Kuan-Chung Chiu <buganini@gmail.com>
26 lines
591 B
Makefile
26 lines
591 B
Makefile
# Created by: buganini@gmail.com
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= opencc
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= chinese converters
|
|
PKGNAMEPREFIX= bsdconv-
|
|
DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT}
|
|
|
|
MAINTAINER= buganini@gmail.com
|
|
COMMENT= OpenCC conversion module for bsdconv
|
|
|
|
LICENSE= BSD
|
|
|
|
BUILD_DEPENDS= bsdconv_mktable:${PORTSDIR}/converters/bsdconv
|
|
LIB_DEPENDS= bsdconv:${PORTSDIR}/converters/bsdconv \
|
|
opencc:${PORTSDIR}/chinese/opencc
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= buganini
|
|
GH_PROJECT= bsdconv-${PORTNAME}
|
|
GH_COMMIT= be3e559
|
|
|
|
MAKE_ARGS= PREFIX=${PREFIX}
|
|
|
|
.include <bsd.port.mk>
|