1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/chinese/libpinyin/Makefile
Alex Kozlov e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00

36 lines
766 B
Makefile

# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
PORTNAME= libpinyin
PORTVERSION= 0.7.91
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
USES= gettext
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}"
PLIST_SUB+= VER=${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800107
IGNORE= does not compile on FreeBSD 7.X
.endif
.include <bsd.port.post.mk>