diff --git a/chinese/libpinyin/Makefile b/chinese/libpinyin/Makefile index 9e55e7bfb96e..d5832c68f427 100644 --- a/chinese/libpinyin/Makefile +++ b/chinese/libpinyin/Makefile @@ -1,33 +1,35 @@ PORTNAME= libpinyin -PORTVERSION= 2.8.1 -PORTREVISION= 1 +DISTVERSION= 2.8.1 +PORTREVISION= 2 CATEGORIES= chinese textproc -MASTER_SITES= SF/${PORTNAME}/${PORTNAME} +MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ \ + 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 +LIB_DEPENDS= libkyotocabinet.so:databases/kyotocabinet + +USES= compiler:c++11-lang gmake gnome libtool localbase:ldflags \ + pathfix pkgconfig USE_GNOME= glib20 +USE_LDCONFIG= yes GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share -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 +CONFIGURE_ARGS= --with-dbm=KyotoCabinet + OPTIONS_DEFINE= NLS NLS_USES= gettext PLIST_SUB+= VER=${PORTVERSION} \ ABIVER=15 .include