summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--converters/libqxp/DESCR2
-rw-r--r--converters/libqxp/Makefile28
-rw-r--r--converters/libqxp/PLIST10
-rw-r--r--converters/libqxp/buildlink3.mk14
-rw-r--r--converters/libqxp/distinfo6
5 files changed, 60 insertions, 0 deletions
diff --git a/converters/libqxp/DESCR b/converters/libqxp/DESCR
new file mode 100644
index 00000000000..12bef7887d9
--- /dev/null
+++ b/converters/libqxp/DESCR
@@ -0,0 +1,2 @@
+libqxp is a library and a set of tools for reading and converting
+QuarkXPress file format. It supports versions 3.1-4.1 currently.
diff --git a/converters/libqxp/Makefile b/converters/libqxp/Makefile
new file mode 100644
index 00000000000..13382401df7
--- /dev/null
+++ b/converters/libqxp/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2018/02/03 00:06:29 ryoon Exp $
+
+DISTNAME= libqxp-0.0.1
+CATEGORIES= converters
+MASTER_SITES= http://dev-www.libreoffice.org/src/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= https://wiki.documentfoundation.org/DLP/Libraries/libqxp
+COMMENT= Library that parses the file format of QuarkXPress documents
+LICENSE= mpl-2.0 OR gnu-lgpl-v2.1
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+USE_LANGUAGES= c c++
+
+BUILDLINK_TRANSFORM+= rm:-Werror
+
+CONFIGURE_ARGS+= --disable-tests
+CONFIGURE_ARGS+= --without-docs
+
+PKGCONFIG_OVERRIDE+= libqxp-0.0.pc
+
+.include "../../converters/librevenge/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/libqxp/PLIST b/converters/libqxp/PLIST
new file mode 100644
index 00000000000..df981056960
--- /dev/null
+++ b/converters/libqxp/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2018/02/03 00:06:29 ryoon Exp $
+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.la
+lib/pkgconfig/libqxp-0.0.pc
diff --git a/converters/libqxp/buildlink3.mk b/converters/libqxp/buildlink3.mk
new file mode 100644
index 00000000000..6414b126dd3
--- /dev/null
+++ b/converters/libqxp/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/02/03 00:06:29 ryoon Exp $
+
+BUILDLINK_TREE+= libqxp
+
+.if !defined(LIBQXP_BUILDLINK3_MK)
+LIBQXP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libqxp+= libqxp>=0.0.1
+BUILDLINK_PKGSRCDIR.libqxp?= ../../converters/libqxp
+
+.include "../../converters/librevenge/buildlink3.mk"
+.endif # LIBQXP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libqxp
diff --git a/converters/libqxp/distinfo b/converters/libqxp/distinfo
new file mode 100644
index 00000000000..462f6ce5dfa
--- /dev/null
+++ b/converters/libqxp/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/02/03 00:06:29 ryoon Exp $
+
+SHA1 (libqxp-0.0.1.tar.xz) = a5963474afcc8e7b0eb352754325c21e1a1f5e18
+RMD160 (libqxp-0.0.1.tar.xz) = c1d8d8ecd06445ec5ad9f8d18ec86e31d485879b
+SHA512 (libqxp-0.0.1.tar.xz) = a03a9ada658a92f4d985cad91d467b3916334c74dc26c1e4de89e3929e0135ca0e9c7e7e18ce616ef56a67863ec19c2638494400785849017f9a4776df07c607
+Size (libqxp-0.0.1.tar.xz) = 340184 bytes