freebsd-ports/chinese/libpinyin/Makefile
Michael Scheidell b3276d694f Add port chinese/libpinyin: The libpinyin project aims to provide the algorithms core for intelligent
sentence-based Chinese pinyin input methods.

WWW:    https://github.com/libpinyin/libpinyin

PR:		ports/166716
Submitted by:	Zhihao Yuan <lichray@gmail.com> (maintainer)
2012-05-01 12:12:53 +00:00

37 lines
811 B
Makefile

# New ports collection makefile for: libpinyin
# Date created: 6 Feb 2012
# Whom: Zhihao Yuan <lichray@gmail.com>
#
# $FreeBSD$
#
PORTNAME= libpinyin
PORTVERSION= 0.5.92
CATEGORIES= chinese textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
MAINTAINER= lichray@gmail.com
COMMENT= Library to deal with pinyin
MAN1= libpinyin.1 gen_binary_files.1 gen_unigram.1 \
import_interpolation.1
USE_BDB= yes
USE_GNOME= glib20 gnomehack pkgconfig
USE_GETTEXT= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include \
-I${BDB_INCLUDE_DIR} -D_WITH_GETLINE" \
LDFLAGS="-L${LOCALBASE}/lib -l${BDB_LIB_NAME}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800107
IGNORE= does not compile on FreeBSD 7.X
.endif
.include <bsd.port.post.mk>