From nobody Sun May 19 10:56:12 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VhyL43Ll9z5JHQT; Sun, 19 May 2024 10:56:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VhyL40vzzz435C; Sun, 19 May 2024 10:56:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716116172; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nCdtLYlRjsU1m3cc8JcLE2XWGS+SRvSImJTzAslnkXo=; b=PIwpUwgH+oxZcJ1Z049mKLpJIqFMA4TRm3HBFdu4qYy4SAZGcqbo5QvCv6PHTyW1LuaImC 7hj3vGPs877BKXN86kqPlys/pqXB4+KVfKbvv/FyAb7B0Wot+/4MQBADE9MHOv/TkxQ/d4 Src+J7j6fqg0rIa7LBa+YzyNX2qv7/FtrIkPZOfygH6/eQ5LHI/D8cVxmfHS7mm14YXopi zuB+Am1PEuODVeltQ4QTVdMfoCFrVjdcctE1GAeveGXBwUT+Y8VUIXvwHCQ4NI/pJt5YHi nGil+H/Fq3qbend4n/5peDcHqKeTobTqdKA+FEYEP43DdrGLpjHrCcwwghVwog== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716116172; a=rsa-sha256; cv=none; b=d6zh7o0aHnFeSb/TCP/fFSTrtQs0md+Y0jbXofM1N7P+IfoXrYkLqmJ84XGF2jEOIOQ+7R t6KwqQzx5SwwynjlgV3k/j5l4NduqGXK0l2XeR6Ql4979bzM4nP8WxJWr7hzTlL5Rh2MUo r6UpXK/fkuq51ACpUhX8mWDqFjGLi5xB7fgGKbAfyS61KYDMXW4RD83R7dTSFXQCTODUVj 8H8WmoQN35PjpkGlKDnwc66wQhIM1DJ9fKhMqujuMB4hcnu756a2CMkQmA53O7SyJJ2VNa YmZzs9WgWRghE/GHlt8RtW5rJSaMjh5dPD3zA/gjFCL6F/UitsE0FKgHouyh5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716116172; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nCdtLYlRjsU1m3cc8JcLE2XWGS+SRvSImJTzAslnkXo=; b=JlAkew+EShx3pM8/9tQdYJUfydpDQj5Sr7eG01C8Vt5TBRRRDfoHY4bmWiKOZHn8m2G9TS Pt4FNERg8BpqTJsMmzlM4hsK3VBr5CCFZDPP4PjVYQHFhTjNBevZUIhJwTA9BYVwHQ7r3N T46E8w0smdCZnVt8zW2O4LV+ELj4y13iYYWCOhzI6kTMDqIA3qATkLvXIZ3O1GHpcTjlM1 KXfo1eWtUxJX9CNardejgQhL5zjDMwT5FiVqfAbpznPgiFmiauYYQNK1jAtz1n8Q+H+dSt 6oawPpGIKrF8mXYYIH/5YpbpSj+XWAcCI33nqEOh4y4aUIlmAUKjyIYXip2nNQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VhyL40WwQz16Kq; Sun, 19 May 2024 10:56:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44JAuC9f093545; Sun, 19 May 2024 10:56:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44JAuCvK093542; Sun, 19 May 2024 10:56:12 GMT (envelope-from git) Date: Sun, 19 May 2024 10:56:12 GMT Message-Id: <202405191056.44JAuCvK093542@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 43ea95faf2c0 - main - chinese/libpinyin: Switch DB backend and improve port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 43ea95faf2c07a72429da7402f5feb74a8d88c02 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=43ea95faf2c07a72429da7402f5feb74a8d88c02 commit 43ea95faf2c07a72429da7402f5feb74a8d88c02 Author: Daniel Engberg AuthorDate: 2024-05-19 09:12:21 +0000 Commit: Daniel Engberg CommitDate: 2024-05-19 10:56:01 +0000 chinese/libpinyin: Switch DB backend and improve port * Switch to DISTVERSION * Use GitHub as primary download site and Sourceforge as fallback * Use USES= localbase:ldflags helper * Switch from DBD5 (deprecated) to KyotoCabinet as backend * Remove GNU_CONFIGURE_MANPREFIX PR: 279124 Reviewed by: Zhihao Yuan (maintainer) --- chinese/libpinyin/Makefile | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/chinese/libpinyin/Makefile b/chinese/libpinyin/Makefile index 9e55e7bfb96e..d5832c68f427 100644 --- a/chinese/libpinyin/Makefile +++ b/chinese/libpinyin/Makefile @@ -1,8 +1,9 @@ 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 @@ -11,18 +12,19 @@ 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