mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
a57522f229
Approved by: portmgr (blanket infrastructure)
32 lines
675 B
Makefile
32 lines
675 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
|
|
|
|
USE_BDB= yes
|
|
USE_GNOME= glib20
|
|
USES= gettext gmake pathfix pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
USE_AUTOTOOLS= libtool
|
|
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>
|