Import poxml 18.12.0 (one to one replacement for KDE4) OK sthen@

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.
This commit is contained in:
rsadowski 2019-12-10 18:14:47 +00:00
parent 584afce63d
commit 357b8fefbc
4 changed files with 39 additions and 0 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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

View File

@ -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.

View File

@ -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