editors/poedit: update to 3.4.2

Changelog: https://github.com/vslavik/poedit/blob/master/NEWS

Port changes:
- Switch to DISTVERSION
- Define LICENSE_FILE
- Switch to wx3.2 (requirement)
- Remove NLS knob (as upstream doesn't allow it)

PR:		277431
Reported by:	eduardo
This commit is contained in:
Rodrigo Osorio 2024-03-15 21:47:27 +01:00
parent dcf72144b3
commit 133ed6be91
3 changed files with 16 additions and 24 deletions

View File

@ -1,14 +1,14 @@
PORTNAME= poedit
PORTVERSION= 3.3.1
PORTREVISION= 5
DISTVERSION= 3.4.2
CATEGORIES= editors
MASTER_SITES= https://github.com/vslavik/${PORTNAME}/releases/download/v${PORTVERSION}-oss/
MASTER_SITES= https://github.com/vslavik/${PORTNAME}/releases/download/v${DISTVERSION}-oss/
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Gettext catalogs (.po files) editor
WWW= https://www.poedit.net/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= zip:archivers/zip
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
@ -18,24 +18,12 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libicui18n.so:devel/icu \
liblucene++.so:textproc/luceneplusplus
USES= bdb compiler:c++11-lib desktop-file-utils gmake \
gnome pkgconfig
WITH_BDB_HIGHEST= yes
USE_GNOME+= cairo gdkpixbuf2 glib20 gtk30 pango
USE_WX= 3.0
USES= desktop-file-utils gettext-tools:build,run \
gmake gnome pkgconfig
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango
USE_WX= 3.2
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ENV= WXRC="${WXRC_CMD}"
CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
## -stdlib=libc++
LDFLAGS+= -lpthread -L${BDB_LIB_DIR} -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1685880376
SHA256 (poedit-3.3.1.tar.gz) = 4a8af5c37be152ebab012ebf5c7e21aec3e3c692be34deaf00c78216e901b926
SIZE (poedit-3.3.1.tar.gz) = 3058273
TIMESTAMP = 1709329348
SHA256 (poedit-3.4.2.tar.gz) = 5d64e8aaf92cd016c6cc4623e781b4e7decd85f410b8b289354cb1988282a247
SIZE (poedit-3.4.2.tar.gz) = 3148399

View File

@ -1,5 +1,4 @@
bin/poedit
share/man/man1/poedit.1.gz
share/applications/net.poedit.Poedit.desktop
share/applications/net.poedit.PoeditURI.desktop
share/icons/hicolor/128x128/apps/net.poedit.Poedit.png
@ -69,12 +68,17 @@ share/locale/uz/LC_MESSAGES/poedit.mo
share/locale/vi/LC_MESSAGES/poedit.mo
share/locale/zh_CN/LC_MESSAGES/poedit.mo
share/locale/zh_TW/LC_MESSAGES/poedit.mo
share/man/man1/poedit.1.gz
share/metainfo/net.poedit.Poedit.appdata.xml
%%DATADIR%%/icons/CrowdinLogoTemplate.png
%%DATADIR%%/icons/AccountCrowdin.png
%%DATADIR%%/icons/AccountLocalazy.png
%%DATADIR%%/icons/CrowdinLogo.png
%%DATADIR%%/icons/CrowdinLogoDark.png
%%DATADIR%%/icons/DownvoteTemplate.png
%%DATADIR%%/icons/ExtractorsGNUgettext.png
%%DATADIR%%/icons/ItemBookmarkTemplate.png
%%DATADIR%%/icons/ItemCommentTemplate.png
%%DATADIR%%/icons/LocalazyLogo.png
%%DATADIR%%/icons/StatusError.png
%%DATADIR%%/icons/StatusErrorBlack.png
%%DATADIR%%/icons/StatusWarning.png