diff --git c/textproc/libepubgen01/Makefile i/textproc/libepubgen01/Makefile new file mode 100644 index 000000000000..f50ee0508fd0 --- /dev/null +++ i/textproc/libepubgen01/Makefile @@ -0,0 +1,44 @@ +# $FreeBSD$ + +PORTNAME= libepubgen +PORTVERSION= 0.1.0 +CATEGORIES= textproc +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} +PKGNAMESUFFIX= 01 + +MAINTAINER= office@FreeBSD.org +COMMENT= Library for generating documents in ePub format + +LICENSE= MPL20 + +LIB_DEPENDS= librevenge-0.0.so:textproc/librevenge +BUILD_DEPENDS= ${LOCALBASE}/include/boost/algorithm/string/classification.hpp:devel/boost-libs \ + ${LOCALBASE}/include/boost/algorithm/string/join.hpp:devel/boost-libs \ + ${LOCALBASE}/include/boost/algorithm/string/split.hpp:devel/boost-libs \ + ${LOCALBASE}/include/boost/algorithm/string/trim.hpp:devel/boost-libs \ + ${LOCALBASE}/include/boost/assign/list_of.hpp:devel/boost-libs \ + ${LOCALBASE}/include/boost/cstdint.hpp:devel/boost-libs \ + ${LOCALBASE}/include/boost/functional/hash.hpp:devel/boost-libs + +CONFIGURE_ARGS= --disable-werror +CPPFLAGS+= -I${LOCALBASE}/include + +GNU_CONFIGURE= yes +USES= compiler:features libtool pathfix pkgconfig tar:xz +USE_LDCONFIG= yes +INSTALL_TARGET= install-strip + +OPTIONS_DEFINE= DOXYGEN TEST +OPTIONS_DEFAULT= +OPTIONS_SUB= yes + +TEST_TARGET= check +TEST_LIB_DEPENDS= libxml2.so:textproc/libxml2 \ + libcppunit.so:devel/cppunit +TEST_CONFIGURE_ENABLE= tests + +PORTDOCS= * +DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen +DOXYGEN_CONFIGURE_OFF= --without-docs + +.include diff --git c/textproc/libepubgen01/distinfo i/textproc/libepubgen01/distinfo new file mode 100644 index 000000000000..5f9e449dced7 --- /dev/null +++ i/textproc/libepubgen01/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1517410235 +SHA256 (libepubgen-0.1.0.tar.xz) = eeaa2c19cc487c821b6477194a01b4373bce9368afb644d768d088935e3b3994 +SIZE (libepubgen-0.1.0.tar.xz) = 319652 diff --git c/textproc/libepubgen01/pkg-descr i/textproc/libepubgen01/pkg-descr new file mode 100644 index 000000000000..e9e82e60da38 --- /dev/null +++ i/textproc/libepubgen01/pkg-descr @@ -0,0 +1,7 @@ +libepubgen is a library for generating documents in ePub format, implementing +librevenge document interfaces. It supports conversion of text documents, +presentations and vector drawings. Spreadsheets are not supported. As these +interfaces are used by multiple libraries, libepubgen can be used to generate +EPUB from many sources. + +WWW: http://libepubgen.sourceforge.net/ diff --git c/textproc/libepubgen01/pkg-plist i/textproc/libepubgen01/pkg-plist new file mode 100644 index 000000000000..76604a16a58b --- /dev/null +++ i/textproc/libepubgen01/pkg-plist @@ -0,0 +1,11 @@ +include/libepubgen-0.1/libepubgen/EPUBDrawingGenerator.h +include/libepubgen-0.1/libepubgen/EPUBPackage.h +include/libepubgen-0.1/libepubgen/EPUBPresentationGenerator.h +include/libepubgen-0.1/libepubgen/EPUBTextGenerator.h +include/libepubgen-0.1/libepubgen/libepubgen-api.h +include/libepubgen-0.1/libepubgen/libepubgen-decls.h +include/libepubgen-0.1/libepubgen/libepubgen.h +lib/libepubgen-0.1.so +lib/libepubgen-0.1.so.1 +lib/libepubgen-0.1.so.1.0.0 +libdata/pkgconfig/libepubgen-0.1.pc diff --git c/textproc/libqxp00/Makefile i/textproc/libqxp00/Makefile new file mode 100644 index 000000000000..4243efd502f4 --- /dev/null +++ i/textproc/libqxp00/Makefile @@ -0,0 +1,44 @@ +# $FreeBSD$ + +PORTNAME= libqxp +PORTVERSION= 0.0.0 +CATEGORIES= textproc +MASTER_SITES= https://dev-www.libreoffice.org/src/${PORTNAME}/ +PKGNAMESUFFIX= 00 + +MAINTAINER= office@FreeBSD.org +COMMENT= Library for parsing QuarkXPress documents + +LICENSE= MPL20 + +LIB_DEPENDS= librevenge-0.0.so:textproc/librevenge \ + libicui18n.so:devel/icu \ + libicuuc.so:devel/icu \ + libicudata.so:devel/icu +BUILD_DEPENDS= ${LOCALBASE}/include/boost/math/constants/constants.hpp:devel/boost-libs \ + ${LOCALBASE}/include/boost/optional.hpp:devel/boost-libs \ + ${LOCALBASE}/include/boost/variant.hpp:devel/boost-libs \ + ${LOCALBASE}/include/boost/range/adaptor/reversed.hpp:devel/boost-libs \ + ${LOCALBASE}/include/boost/cstdint.hpp:devel/boost-libs + +CONFIGURE_ARGS= --disable-werror +CPPFLAGS+= -I${LOCALBASE}/include + +GNU_CONFIGURE= yes +USES= compiler:features libtool pathfix pkgconfig tar:xz +USE_LDCONFIG= yes +INSTALL_TARGET= install-strip + +OPTIONS_DEFINE= DOXYGEN TEST +OPTIONS_DEFAULT= +OPTIONS_SUB= yes + +TEST_TARGET= check +TEST_LIB_DEPENDS= libcppunit.so:devel/cppunit +TEST_CONFIGURE_ENABLE= tests + +PORTDOCS= * +DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen +DOXYGEN_CONFIGURE_OFF= --without-docs + +.include diff --git c/textproc/libqxp00/distinfo i/textproc/libqxp00/distinfo new file mode 100644 index 000000000000..2bf0706afe77 --- /dev/null +++ i/textproc/libqxp00/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1513087591 +SHA256 (libqxp-0.0.0.tar.xz) = 0dd32afbf1c889debc28848b260c1bdc0eba5f57504476b787e164f7c59776d5 +SIZE (libqxp-0.0.0.tar.xz) = 337292 diff --git c/textproc/libqxp00/files/patch-src_lib_QXPBlockParser.cpp i/textproc/libqxp00/files/patch-src_lib_QXPBlockParser.cpp new file mode 100644 index 000000000000..a46777ba9cf3 --- /dev/null +++ i/textproc/libqxp00/files/patch-src_lib_QXPBlockParser.cpp @@ -0,0 +1,13 @@ +Fixes FreeBSD 10 build error: + +QXPBlockParser.cpp:60:12: error: use of undeclared identifier 'abs'; did you mean 'fabs'? +--- src/lib/QXPBlockParser.cpp.orig 2018-02-07 14:08:00 UTC ++++ src/lib/QXPBlockParser.cpp +@@ -13,6 +13,7 @@ + #include + #include + #include ++#include + + #include "QXPHeader.h" + diff --git c/textproc/libqxp00/pkg-descr i/textproc/libqxp00/pkg-descr new file mode 100644 index 000000000000..35d07905dc6c --- /dev/null +++ i/textproc/libqxp00/pkg-descr @@ -0,0 +1,4 @@ +libqxp is a library that parses the file format of QuarkXPress documents. +Currently it only understands documents created by QuarkXPress 3.1 to 4.1. + +WWW: https://wiki.documentfoundation.org/DLP/Libraries/libqxp diff --git c/textproc/libqxp00/pkg-plist i/textproc/libqxp00/pkg-plist new file mode 100644 index 000000000000..05caea72a7bc --- /dev/null +++ i/textproc/libqxp00/pkg-plist @@ -0,0 +1,11 @@ +bin/qxp2raw +bin/qxp2svg +bin/qxp2text +include/libqxp-0.0/libqxp/QXPDocument.h +include/libqxp-0.0/libqxp/QXPPathResolver.h +include/libqxp-0.0/libqxp/libqxp.h +include/libqxp-0.0/libqxp/libqxp_api.h +lib/libqxp-0.0.so +lib/libqxp-0.0.so.0 +lib/libqxp-0.0.so.0.0.0 +libdata/pkgconfig/libqxp-0.0.pc