summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2013-08-24 16:06:56 +0000
committerjaapb <jaapb@pkgsrc.org>2013-08-24 16:06:56 +0000
commit55e8d45c74dc9c52bc96fe64c5697a08fcf67fb8 (patch)
tree9c372d4951da22b9fdeda739003f0a2915358102 /converters
parent70f4324062df5fd1e68bca751963a313f121de78 (diff)
downloadpkgsrc-55e8d45c74dc9c52bc96fe64c5697a08fcf67fb8.tar.gz
Packaged converters/libmspub, a library for importing Microsoft Publisher
documents (used by libreoffice). (pkglint complains about c not being added to USE_LANGUAGES; this is fine, as the package only uses c++)
Diffstat (limited to 'converters')
-rw-r--r--converters/libmspub/DESCR2
-rw-r--r--converters/libmspub/Makefile26
-rw-r--r--converters/libmspub/PLIST8
-rw-r--r--converters/libmspub/buildlink3.mk18
-rw-r--r--converters/libmspub/distinfo5
5 files changed, 59 insertions, 0 deletions
diff --git a/converters/libmspub/DESCR b/converters/libmspub/DESCR
new file mode 100644
index 00000000000..b1be2fd67d8
--- /dev/null
+++ b/converters/libmspub/DESCR
@@ -0,0 +1,2 @@
+Libmspub is a library providing the ability to interpret and import Microsoft
+Publisher contents into various applications.
diff --git a/converters/libmspub/Makefile b/converters/libmspub/Makefile
new file mode 100644
index 00000000000..4b5a6848b2f
--- /dev/null
+++ b/converters/libmspub/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2013/08/24 16:06:56 jaapb Exp $
+
+DISTNAME= libmspub-0.0.6
+CATEGORIES= converters
+MASTER_SITES= http://dev-www.libreoffice.org/src/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= jaapb@NetBSD.org
+HOMEPAGE= http://www.freedesktop.org/wiki/Software/libmspub
+COMMENT= Library for importing Microsoft Publisher content
+LICENSE= mpl-1.1 OR gnu-lgpl-v2 OR gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c++
+CONFIGURE_ARGS+= --without-docs
+
+PKGCONFIG_OVERRIDE+= libmspub.pc.in
+
+.include "../../converters/libwpd/buildlink3.mk"
+.include "../../converters/libwpg/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/libmspub/PLIST b/converters/libmspub/PLIST
new file mode 100644
index 00000000000..3b1e95ba016
--- /dev/null
+++ b/converters/libmspub/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2013/08/24 16:06:56 jaapb Exp $
+bin/pub2raw
+bin/pub2xhtml
+include/libmspub-0.0/libmspub/MSPUBDocument.h
+include/libmspub-0.0/libmspub/MSPUBStringVector.h
+include/libmspub-0.0/libmspub/libmspub.h
+lib/libmspub-0.0.la
+lib/pkgconfig/libmspub-0.0.pc
diff --git a/converters/libmspub/buildlink3.mk b/converters/libmspub/buildlink3.mk
new file mode 100644
index 00000000000..188d639f7f6
--- /dev/null
+++ b/converters/libmspub/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/08/24 16:06:56 jaapb Exp $
+
+BUILDLINK_TREE+= libmspub
+
+.if !defined(LIBMSPUB_BUILDLINK3_MK)
+LIBMSPUB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libmspub+= libmspub>=0.0.6
+BUILDLINK_PKGSRCDIR.libmspub?= ../../converters/libmspub
+
+.include "../../converters/libwpd/buildlink3.mk"
+.include "../../converters/libwpg/buildlink3.mk"
+#.include "../../devel/boost-libs/buildlink3.mk"
+#.include "../../devel/zlib/buildlink3.mk"
+#.include "../../textproc/icu/buildlink3.mk"
+.endif # LIBMSPUB_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libmspub
diff --git a/converters/libmspub/distinfo b/converters/libmspub/distinfo
new file mode 100644
index 00000000000..c4554982322
--- /dev/null
+++ b/converters/libmspub/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/08/24 16:06:56 jaapb Exp $
+
+SHA1 (libmspub-0.0.6.tar.xz) = cfebfdf832cf582c57134f851614c1cecc5540c0
+RMD160 (libmspub-0.0.6.tar.xz) = e36f64141642c9d0af6b5a247ce3c0d41d92893c
+Size (libmspub-0.0.6.tar.xz) = 353356 bytes