Skip to content

Commit

Permalink
editors/xmlcopyeditor: Adopt/Update to 1.3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nunotexbsd committed Mar 29, 2023
1 parent 543bd99 commit 6800c33
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 18 deletions.
23 changes: 10 additions & 13 deletions editors/xmlcopyeditor/Makefile
@@ -1,36 +1,33 @@
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/

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>
6 changes: 3 additions & 3 deletions 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
@@ -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
Expand Down
14 changes: 14 additions & 0 deletions 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
Expand Down

0 comments on commit 6800c33

Please sign in to comment.