diff --git a/x11/kde-applications/poxml/Makefile b/x11/kde-applications/poxml/Makefile new file mode 100644 index 00000000000..3abb9d34dc5 --- /dev/null +++ b/x11/kde-applications/poxml/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2019/12/10 18:14:47 rsadowski Exp $ + +COMMENT = convert PO files to XML +DISTNAME = poxml-${VERSION} +CATEGORIES = x11 devel + +WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Xml c gettextpo m + +MODULES += x11/kde-applications + +# redundant but required to work around msgfmt poisoning in bsd.port.mk +BUILD_DEPENDS += devel/gettext,-tools \ + devel/kf5/kdoctools + +LIB_DEPENDS += devel/gettext,-tools + +.include diff --git a/x11/kde-applications/poxml/distinfo b/x11/kde-applications/poxml/distinfo new file mode 100644 index 00000000000..8a6ed22dd9b --- /dev/null +++ b/x11/kde-applications/poxml/distinfo @@ -0,0 +1,2 @@ +SHA256 (kde-applications/poxml-18.12.0.tar.xz) = hv5kjSb6oziFUijPO7EkiOvHUP+RK9iTcy8bdX9O074= +SIZE (kde-applications/poxml-18.12.0.tar.xz) = 43180 diff --git a/x11/kde-applications/poxml/pkg/DESCR b/x11/kde-applications/poxml/pkg/DESCR new file mode 100644 index 00000000000..af70da145ad --- /dev/null +++ b/x11/kde-applications/poxml/pkg/DESCR @@ -0,0 +1,9 @@ +split2po is a command-line tool that takes the two given DocBook XML files and +produces a gettext message file (PO-file) that represents the changes between +them. + +xml2pot is a command-line tool that produces a gettext message template file +from the DocBook XML file original-XML. + +Some utilities from original package were not ported due to lack of C runtime +for Antlr 2 in our ports. diff --git a/x11/kde-applications/poxml/pkg/PLIST b/x11/kde-applications/poxml/pkg/PLIST new file mode 100644 index 00000000000..53a45c6a7e7 --- /dev/null +++ b/x11/kde-applications/poxml/pkg/PLIST @@ -0,0 +1,11 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2019/12/10 18:14:47 rsadowski Exp $ +@conflict kdesdk-<4.11 +@pkgpath x11/kde4/poxml +@bin bin/po2xml +@bin bin/split2po +@bin bin/swappo +@bin bin/xml2pot +@man man/man1/po2xml.1 +@man man/man1/split2po.1 +@man man/man1/swappo.1 +@man man/man1/xml2pot.1