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