6c8bee42bc
- correct LICENSE and specify LICENSE_FILE - bump consumers due to ABI version change Changes: https://github.com/libpinyin/libpinyin/compare/2.6.2...2.8.1 Approved by: lichray[at]gmail[dot]com (maintainer) PR: 270155
31 lines
663 B
Makefile
31 lines
663 B
Makefile
PORTNAME= libpinyin
|
|
PORTVERSION= 2.8.1
|
|
CATEGORIES= chinese textproc
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
|
|
|
|
MAINTAINER= lichray@gmail.com
|
|
COMMENT= Library to deal with pinyin
|
|
WWW= https://github.com/libpinyin/libpinyin
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= bdb compiler:c++11-lang gmake gnome libtool pathfix pkgconfig
|
|
USE_GNOME= glib20
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include \
|
|
-I${BDB_INCLUDE_DIR}" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -l${BDB_LIB_NAME}"
|
|
INSTALL_TARGET= install-strip
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
NLS_USES= gettext
|
|
|
|
PLIST_SUB+= VER=${PORTVERSION} \
|
|
ABIVER=15
|
|
|
|
.include <bsd.port.mk>
|