aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2024-03-15 20:47:27 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2024-03-15 20:53:41 +0000
commit133ed6be91f362717b7ae81fd6bd2124e6cbb7ec (patch)
tree73dc007ba0f5bc59a886f519a7591f952636d300
parentdcf72144b330cb4c54c7760382a58f1217944413 (diff)
downloadports-133ed6be91f362717b7ae81fd6bd2124e6cbb7ec.tar.gz
ports-133ed6be91f362717b7ae81fd6bd2124e6cbb7ec.zip
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
-rw-r--r--editors/poedit/Makefile26
-rw-r--r--editors/poedit/distinfo6
-rw-r--r--editors/poedit/pkg-plist8
3 files changed, 16 insertions, 24 deletions
diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile
index 75906de73ba5..5ba7d465c127 100644
--- a/editors/poedit/Makefile
+++ b/editors/poedit/Makefile
@@ -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>
diff --git a/editors/poedit/distinfo b/editors/poedit/distinfo
index 45ea660ed5ef..c7c4426f44dc 100644
--- a/editors/poedit/distinfo
+++ b/editors/poedit/distinfo
@@ -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
diff --git a/editors/poedit/pkg-plist b/editors/poedit/pkg-plist
index 12d6f0ccb544..bcf0815d5ab7 100644
--- a/editors/poedit/pkg-plist
+++ b/editors/poedit/pkg-plist
@@ -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