summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2013-08-24 16:17:12 +0000
committerjaapb <jaapb@pkgsrc.org>2013-08-24 16:17:12 +0000
commitfec95e4cca81d518a0c5afd305fd2be9f7560237 (patch)
tree3777341fcc9efdde4311f17225dc30c791dc4747 /textproc
parent2035334b7f5b3d43e0adecab215b87ecbcf23052 (diff)
downloadpkgsrc-fec95e4cca81d518a0c5afd305fd2be9f7560237.tar.gz
Packaged textproc/libodfgen, a library providing the ability to generate
ODF documents from libwpd and libwps API calls. (libreoffice dependency)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libodfgen/DESCR2
-rw-r--r--textproc/libodfgen/Makefile24
-rw-r--r--textproc/libodfgen/PLIST7
-rw-r--r--textproc/libodfgen/buildlink3.mk15
-rw-r--r--textproc/libodfgen/distinfo5
5 files changed, 53 insertions, 0 deletions
diff --git a/textproc/libodfgen/DESCR b/textproc/libodfgen/DESCR
new file mode 100644
index 00000000000..785ce7ce386
--- /dev/null
+++ b/textproc/libodfgen/DESCR
@@ -0,0 +1,2 @@
+Libodfgen is a library providing the ability to generate ODF documents from
+libwpd and libwps API calls.
diff --git a/textproc/libodfgen/Makefile b/textproc/libodfgen/Makefile
new file mode 100644
index 00000000000..aeaf4370bd6
--- /dev/null
+++ b/textproc/libodfgen/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2013/08/24 16:17:12 jaapb Exp $
+
+DISTNAME= libodfgen-0.0.2
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libwpd/libodfgen/libodfgen-${PKGVERSION}/}
+
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= jaapb@NetBSD.org
+HOMEPAGE= http://libwpd.sourceforge.net/
+COMMENT= Library to generate ODF documents through libwpd and libwps
+LICENSE= mpl-2.0 OR gnu-lgpl-v2
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-sharedptr=tr1
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+= libodfgen.pc.in
+
+.include "../../converters/libwpd/buildlink3.mk"
+.include "../../converters/libwpg/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/libodfgen/PLIST b/textproc/libodfgen/PLIST
new file mode 100644
index 00000000000..4f3af2e537f
--- /dev/null
+++ b/textproc/libodfgen/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2013/08/24 16:17:12 jaapb Exp $
+include/libodfgen-0.0/libodfgen/OdfDocumentHandler.hxx
+include/libodfgen-0.0/libodfgen/OdgGenerator.hxx
+include/libodfgen-0.0/libodfgen/OdtGenerator.hxx
+include/libodfgen-0.0/libodfgen/libodfgen.hxx
+lib/libodfgen-0.0.la
+lib/pkgconfig/libodfgen-0.0.pc
diff --git a/textproc/libodfgen/buildlink3.mk b/textproc/libodfgen/buildlink3.mk
new file mode 100644
index 00000000000..476da546a05
--- /dev/null
+++ b/textproc/libodfgen/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/08/24 16:17:12 jaapb Exp $
+
+BUILDLINK_TREE+= libodfgen
+
+.if !defined(LIBODFGEN_BUILDLINK3_MK)
+LIBODFGEN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libodfgen+= libodfgen>=0.0.2
+BUILDLINK_PKGSRCDIR.libodfgen?= ../../textproc/libodfgen
+
+.include "../../converters/libwpd/buildlink3.mk"
+.include "../../converters/libwpg/buildlink3.mk"
+.endif # LIBODFGEN_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libodfgen
diff --git a/textproc/libodfgen/distinfo b/textproc/libodfgen/distinfo
new file mode 100644
index 00000000000..4a1a5807a7e
--- /dev/null
+++ b/textproc/libodfgen/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/08/24 16:17:12 jaapb Exp $
+
+SHA1 (libodfgen-0.0.2.tar.xz) = 48c3aa8b9e8a4e67cc0b3d23065984810ab93d58
+RMD160 (libodfgen-0.0.2.tar.xz) = 451a00cb072de7be218593f9965e59da2de4bedd
+Size (libodfgen-0.0.2.tar.xz) = 270992 bytes