Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2012 20:38:07 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/171820: [NEW PORT] textproc/p5-docbook2odf: Convert docbook document to Oasis Open Document
Message-ID:  <20120920183811.76CC7106566C@hub.freebsd.org>
Resent-Message-ID: <201209201840.q8KIe4uM004081@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171820
>Category:       ports
>Synopsis:       [NEW PORT] textproc/p5-docbook2odf: Convert docbook document to Oasis Open Document
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 20 18:40:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
Docbook2odf is a toolkit that automaticaly converts DocBook to OASIS
OpenDocument (ODF, the ISO standardized format used for texts, spreadsheets
and presentations). Conversion is based on a XSLT which makes it easy to
convert DocBook->ODF, ODT, ODS and ODP as all these documents are XML based.

Also goal of docbook2odf is to generate well formatted documents in
OpenDocument, ready to be used in instant, with actually considering current
rules of the Corporate Identity of organizations. Final results should not be
restricted to text like documents but also many other forms could be generated,
like presentations, charts or forms with images and multimedia.

The result is provided in a one zipped ODF file (.odt/.odp/.ods) with all
required content. There are group of utilities like docbook2odt, docbook2ods
and docbook2odp as docbook2odf is actually universally converting to these
respective formats.

WWW: http://open.comsultia.com/docbook2odf/

Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:

portlint -A
WARN: Makefile: only one MASTER_SITE configured.  Consider adding additional mirrors.
0 fatal errors and 1 warning found.


Build log RedPorts

https://redports.org/buildarchive/20120920161624-5384/

>Fix:

--- .shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	docbook2odf
#	docbook2odf/Makefile
#	docbook2odf/pkg-descr
#	docbook2odf/distinfo
#
echo c - docbook2odf
mkdir -p docbook2odf > /dev/null 2>&1
echo x - docbook2odf/Makefile
sed 's/^X//' >docbook2odf/Makefile << '38495670936b643fcfcf4f8dd95214ea'
X# $FreeBSD$
X
XPORTNAME=	docbook2odf
XPORTVERSION=	0.244
XCATEGORIES=	textproc perl5
XMASTER_SITES=	http://open.comsultia.com/docbook2odf/dwn/
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	nemysis@gmx.ch
XCOMMENT=	Convert docbook document to Oasis Open Document
X
XLICENSE=	GPLv2
X
XLIB_DEPENDS=	sablot:${PORTSDIR}/textproc/sablotron \
X		xslt:${PORTSDIR}/textproc/libxslt
XRUN_DEPENDS=	convert:${PORTSDIR}/graphics/ImageMagick \
X		zip:${PORTSDIR}/archivers/zip \
X		p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip
X
XUSE_PERL5=	yes
XUSE_PERL5_RUN=	yes
XNO_BUILD=	yes
X
XPLIST_FILES=	bin/${PORTNAME} \
X		share/applications/${PORTNAME}.desktop \
X		share/pixmaps/${PORTNAME}.png
XPLIST_DIRSTRY=	share/applications
X
XPORTDATA=	*
XPORTEXAMPLES=	*
X
XMAN1=		${PORTNAME}.1
X
X.include <bsd.port.options.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|#!/usr/bin/perl|#!${PERL}|' \
X		${WRKSRC}/tests/tests/docbook-43.001.xml ${WRKSRC}/utils/maketests \
X		${WRKSRC}/utils/${PORTNAME}
X	@${RM} ${WRKSRC}/tests/tests/*.bak
X	@(cd ${WRKSRC}/utils && ${RM} *.bak)
X
Xdo-install:
X# Executable
X	${LN} -sf ${DATADIR}/utils/${PORTNAME} ${PREFIX}/bin/
X
X# Data
X	${MKDIR} ${DATADIR}
X	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "tests utils xsl" ${DATADIR})
X	@(cd ${DATADIR}/utils && ${CHMOD} 555 *)
X
X# Pixmaps and Desktop
X	${LN} -sf ${EXAMPLESDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
X	${MKDIR} ${PREFIX}/share/applications
X	${INSTALL_DATA} ${WRKSRC}/bindings/desktop/${PORTNAME}.desktop ${PREFIX}/share/applications/
X
X# Man
X	${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
X
X# Examples
X	@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
X
X.include <bsd.port.mk>
38495670936b643fcfcf4f8dd95214ea
echo x - docbook2odf/pkg-descr
sed 's/^X//' >docbook2odf/pkg-descr << 'fc3c95581305c1060ecb376c62b6bb94'
XDocbook2odf is a toolkit that automaticaly converts DocBook to OASIS
XOpenDocument (ODF, the ISO standardized format used for texts, spreadsheets
Xand presentations). Conversion is based on a XSLT which makes it easy to
Xconvert DocBook->ODF, ODT, ODS and ODP as all these documents are XML based.
X
XAlso goal of docbook2odf is to generate well formatted documents in
XOpenDocument, ready to be used in instant, with actually considering current
Xrules of the Corporate Identity of organizations. Final results should not be
Xrestricted to text like documents but also many other forms could be generated,
Xlike presentations, charts or forms with images and multimedia.
X
XThe result is provided in a one zipped ODF file (.odt/.odp/.ods) with all
Xrequired content. There are group of utilities like docbook2odt, docbook2ods
Xand docbook2odp as docbook2odf is actually universally converting to these
Xrespective formats.
X
XWWW: http://open.comsultia.com/docbook2odf/
fc3c95581305c1060ecb376c62b6bb94
echo x - docbook2odf/distinfo
sed 's/^X//' >docbook2odf/distinfo << '92fc8325c23ed744b31945374b4c3b8c'
XSHA256 (docbook2odf-0.244.tar.gz) = 8bbf4f1f81423ba83c0d58625b2df8bf7d234bfa1b4977c19867288cc1236482
XSIZE (docbook2odf-0.244.tar.gz) = 567200
92fc8325c23ed744b31945374b4c3b8c
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120920183811.76CC7106566C>