aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2023-03-29 19:31:18 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2023-03-29 19:33:02 +0000
commit6800c33a1474173207540a57eafbbd6e897fb4ea (patch)
tree54fb5fb07b3c13846c3772c72b3800027dea45c4
parent543bd99158b8ebc2dbe2d6c16f98c36cd59359b5 (diff)
downloadports-6800c33a1474173207540a57eafbbd6e897fb4ea.tar.gz
ports-6800c33a1474173207540a57eafbbd6e897fb4ea.zip
editors/xmlcopyeditor: Adopt/Update to 1.3.1.0
-rw-r--r--editors/xmlcopyeditor/Makefile23
-rw-r--r--editors/xmlcopyeditor/distinfo6
-rw-r--r--editors/xmlcopyeditor/files/patch-src_Makefile.am (renamed from editors/xmlcopyeditor/files/patch-src_Makefile.in.diff)4
-rw-r--r--editors/xmlcopyeditor/pkg-plist14
4 files changed, 29 insertions, 18 deletions
diff --git a/editors/xmlcopyeditor/Makefile b/editors/xmlcopyeditor/Makefile
index a3502b5cd5c5..2df2508451a5 100644
--- a/editors/xmlcopyeditor/Makefile
+++ b/editors/xmlcopyeditor/Makefile
@@ -1,10 +1,9 @@
PORTNAME= xmlcopyeditor
-PORTVERSION= 1.3.0.0
-PORTREVISION= 4
+DISTVERSION= 1.3.1.0
CATEGORIES= editors
-MASTER_SITES= SF/xml-copy-editor/${PORTNAME}-linux/${PORTVERSION}
+MASTER_SITES= SF/xml-copy-editor/${PORTNAME}-linux/${DISTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= eduardo@FreeBSD.org
COMMENT= Fast validating XML editor
WWW= http://xml-copy-editor.sourceforge.net/
@@ -12,25 +11,23 @@ LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
LIB_DEPENDS= libaspell.so:textproc/aspell \
- libenchant.so:textproc/enchant \
+ libenchant-2.so:textproc/enchant2 \
libexpat.so:textproc/expat2 \
libharfbuzz.so:print/harfbuzz \
- libpcre.so:devel/pcre \
- libxerces-c.so.3:textproc/xerces-c3 \
+ libpcre2-8.so:devel/pcre2 \
+ libxerces-c.so:textproc/xerces-c3 \
libxml2.so:textproc/libxml2 \
libxslt.so:textproc/libxslt
USES= autoreconf compiler:c++11-lang desktop-file-utils dos2unix \
- gmake gettext-tools gnome iconv libtool pkgconfig
+ gettext-tools gmake gnome iconv libtool localbase pkgconfig
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 intltool pango
-USE_WX= 3.0+
+USE_WX= 3.0 # fails to build with 3.2
WX_COMPS= wx
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-nls # NLS does not work properly
-CPPFLAGS+= -I${LOCALBASE}/include
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
.include <bsd.port.mk>
diff --git a/editors/xmlcopyeditor/distinfo b/editors/xmlcopyeditor/distinfo
index 66b292cee3ac..e1f9718e10ba 100644
--- a/editors/xmlcopyeditor/distinfo
+++ b/editors/xmlcopyeditor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1636138025
-SHA256 (xmlcopyeditor-1.3.0.0.tar.gz) = 62342d8b30cb0c59f7fd13a107619a2f955e12bb1057ecdf378b449e96ed3452
-SIZE (xmlcopyeditor-1.3.0.0.tar.gz) = 4981894
+TIMESTAMP = 1680079076
+SHA256 (xmlcopyeditor-1.3.1.0.tar.gz) = e871ca97b86acaf177809f6f9a32e34d3e3da6b27c2a1104574a8fb097d07c91
+SIZE (xmlcopyeditor-1.3.1.0.tar.gz) = 5273837
diff --git a/editors/xmlcopyeditor/files/patch-src_Makefile.in.diff b/editors/xmlcopyeditor/files/patch-src_Makefile.am
index 68915a1e1be7..031473099c2b 100644
--- a/editors/xmlcopyeditor/files/patch-src_Makefile.in.diff
+++ b/editors/xmlcopyeditor/files/patch-src_Makefile.am
@@ -1,6 +1,6 @@
---- src/Makefile.am.orig 2021-11-05 21:58:53 UTC
+--- src/Makefile.am.orig 2023-03-29 11:05:27 UTC
+++ src/Makefile.am
-@@ -9,8 +9,8 @@ noinst_HEADERS = $(srcdir)/*.h
+@@ -9,8 +9,8 @@ xmlcopyeditordir = ${prefix}/share/xmlcopyeditor
bin_PROGRAMS = xmlcopyeditor
bindir = ${prefix}/bin
xmlcopyeditordir = ${prefix}/share/xmlcopyeditor
diff --git a/editors/xmlcopyeditor/pkg-plist b/editors/xmlcopyeditor/pkg-plist
index 861a85284f7d..bf365438a089 100644
--- a/editors/xmlcopyeditor/pkg-plist
+++ b/editors/xmlcopyeditor/pkg-plist
@@ -1,6 +1,20 @@
bin/xmlcopyeditor
man/man1/xmlcopyeditor.1.gz
share/applications/xmlcopyeditor.desktop
+%%NLS%%share/locale/ca/LC_MESSAGES/xmlcopyeditor.mo
+%%NLS%%share/locale/de/LC_MESSAGES/xmlcopyeditor.mo
+%%NLS%%share/locale/en_US/LC_MESSAGES/xmlcopyeditor.mo
+%%NLS%%share/locale/es/LC_MESSAGES/xmlcopyeditor.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/xmlcopyeditor.mo
+%%NLS%%share/locale/it/LC_MESSAGES/xmlcopyeditor.mo
+%%NLS%%share/locale/km/LC_MESSAGES/xmlcopyeditor.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/xmlcopyeditor.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/xmlcopyeditor.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/xmlcopyeditor.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/xmlcopyeditor.mo
+%%NLS%%share/locale/uk_UA/LC_MESSAGES/xmlcopyeditor.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/xmlcopyeditor.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/xmlcopyeditor.mo
share/metainfo/xmlcopyeditor.appdata.xml
share/pixmaps/xmlcopyeditor.png
%%DATADIR%%/catalog/catalog