summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorryoon <ryoon>2017-02-04 01:41:41 +0000
committerryoon <ryoon>2017-02-04 01:41:41 +0000
commit4afc086097cc87997e4d4e5a3b8da65474f00643 (patch)
treea9d9a512c7167dd1a92755b5f39d097b4cbb1273 /converters
parent46014d536332392f3b02584cd04c7955cfb84424 (diff)
downloadpkgsrc-4afc086097cc87997e4d4e5a3b8da65474f00643.tar.gz
Import libstaroffice-0.0.2 as converters/libstaroffice.
The purpose of libstaroffice is to build a filter for old StarOffice's documents(.sdc, .sdw, ...) based on librevenge.
Diffstat (limited to 'converters')
-rw-r--r--converters/libstaroffice/DESCR2
-rw-r--r--converters/libstaroffice/Makefile25
-rw-r--r--converters/libstaroffice/PLIST10
-rw-r--r--converters/libstaroffice/buildlink3.mk13
-rw-r--r--converters/libstaroffice/distinfo6
5 files changed, 56 insertions, 0 deletions
diff --git a/converters/libstaroffice/DESCR b/converters/libstaroffice/DESCR
new file mode 100644
index 00000000000..3c08d00ac27
--- /dev/null
+++ b/converters/libstaroffice/DESCR
@@ -0,0 +1,2 @@
+The purpose of libstaroffice is to build a filter for old StarOffice's
+documents(.sdc, .sdw, ...) based on librevenge.
diff --git a/converters/libstaroffice/Makefile b/converters/libstaroffice/Makefile
new file mode 100644
index 00000000000..135e37b97a8
--- /dev/null
+++ b/converters/libstaroffice/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2017/02/04 01:41:41 ryoon Exp $
+
+DISTNAME= libstaroffice-0.0.2
+CATEGORIES= converters
+MASTER_SITES= http://dev-www.libreoffice.org/src/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://dev-www.libreoffice.org/src/
+COMMENT= Library to import StarOffice documents
+LICENSE= mpl-2.0 OR gnu-lgpl-v2.1
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+CONFIGURE_ARGS+= --without-docs
+CONFIGURE_ARGS+= --disable-werror
+
+PKGCONFIG_OVERRIDE+= libstaroffice.pc.in
+
+.include "../../converters/librevenge/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/libstaroffice/PLIST b/converters/libstaroffice/PLIST
new file mode 100644
index 00000000000..7520228d1c3
--- /dev/null
+++ b/converters/libstaroffice/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/04 01:41:41 ryoon Exp $
+bin/sd2raw
+bin/sd2svg
+bin/sd2text
+bin/sdc2csv
+bin/sdw2html
+include/libstaroffice-0.0/libstaroffice/STOFFDocument.hxx
+include/libstaroffice-0.0/libstaroffice/libstaroffice.hxx
+lib/libstaroffice-0.0.la
+lib/pkgconfig/libstaroffice-0.0.pc
diff --git a/converters/libstaroffice/buildlink3.mk b/converters/libstaroffice/buildlink3.mk
new file mode 100644
index 00000000000..54f8e93c2ba
--- /dev/null
+++ b/converters/libstaroffice/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/02/04 01:41:41 ryoon Exp $
+
+BUILDLINK_TREE+= libstaroffice
+
+.if !defined(LIBSTAROFFICE_BUILDLINK3_MK)
+LIBSTAROFFICE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libstaroffice+= libstaroffice>=0.0.2
+BUILDLINK_PKGSRCDIR.libstaroffice?= ../../converters/libstaroffice
+
+.endif # LIBSTAROFFICE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libstaroffice
diff --git a/converters/libstaroffice/distinfo b/converters/libstaroffice/distinfo
new file mode 100644
index 00000000000..e0606552876
--- /dev/null
+++ b/converters/libstaroffice/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/04 01:41:41 ryoon Exp $
+
+SHA1 (libstaroffice-0.0.2.tar.bz2) = fb7ec416807e49cb8cb12b1e46003499fad9df5f
+RMD160 (libstaroffice-0.0.2.tar.bz2) = b387b4feb04371ad816553a8b984b9c3f91561bf
+SHA512 (libstaroffice-0.0.2.tar.bz2) = dc66324dd8b365db73ea6dea16188b808648970311d443f09302648ab6b3d27c95e91f09f2be6d0d8ef173d8c5129afe6d493b1e2664dbe229553060142858e8
+Size (libstaroffice-0.0.2.tar.bz2) = 886950 bytes