f037e39601
- USE_BDB=4x+ -> USES=bdb. - USE_BDB=yes -> USES=bdb. - USE_BDB=xx -> USES=bdb:xx. Other modernisations when I see them. PR: 209183 Sponsored by: Absolight
29 lines
660 B
Makefile
29 lines
660 B
Makefile
# Created by: Zhihao Yuan <lichray@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libpinyin
|
|
PORTVERSION= 1.2.0
|
|
CATEGORIES= chinese textproc
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
|
|
|
|
MAINTAINER= lichray@gmail.com
|
|
COMMENT= Library to deal with pinyin
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_GNOME= glib20
|
|
USES= bdb gettext gmake libtool pathfix pkgconfig
|
|
GNU_CONFIGURE= 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}"
|
|
INSTALL_TARGET=install-strip
|
|
|
|
PLIST_SUB+= VER=${PORTVERSION}
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpinyin.so.6.0.0
|
|
|
|
.include <bsd.port.mk>
|