summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-02-20 07:33:05 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-02-20 07:33:05 +0000
commitf4a04d29b1767e772a612dc71938e26102409a0f (patch)
treea9a4a2806cbb5ebcd36439fd594d5a9bcf105c8e /textproc
parentOrcus is a library that provides a collection of standalone file processing (diff)
Libmspub is library providing ability to interpret and import Microsoft
Publisher content into various applications. WWW: http://www.freedesktop.org/wiki/Software/libmspub/
Notes
Notes: svn path=/head/; revision=312615
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/libmspub/Makefile29
-rw-r--r--textproc/libmspub/distinfo2
-rw-r--r--textproc/libmspub/pkg-descr4
-rw-r--r--textproc/libmspub/pkg-plist12
5 files changed, 48 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index ee5a1bc47202..eefb6918f08a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -373,6 +373,7 @@
SUBDIR += liblrdf
SUBDIR += libmrss
SUBDIR += libmrss-php
+ SUBDIR += libmspub
SUBDIR += libnxml
SUBDIR += libparsifal
SUBDIR += libroxml
diff --git a/textproc/libmspub/Makefile b/textproc/libmspub/Makefile
new file mode 100644
index 000000000000..6bb89920948f
--- /dev/null
+++ b/textproc/libmspub/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= libmspub
+PORTVERSION= 0.0.5
+CATEGORIES= textproc devel
+MASTER_SITES= http://dev-www.libreoffice.org/src/
+
+MAINTAINER= office@FreeBSD.org
+COMMENT= Library and tools for parsing Microsoft Publisher file format
+
+LICENSE= LGPL21 MPL GPLv2
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= ${LOCALBASE}/include/boost/ptr_container/ptr_map.hpp:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS= icui18n:${PORTSDIR}/devel/icu \
+ wpg-0.2:${PORTSDIR}/graphics/libwpg \
+ wpd-0.9:${PORTSDIR}/textproc/libwpd
+
+GNU_CONFIGURE= yes
+USE_GNOME= gnomehack
+USE_LDCONFIG= yes
+USE_PKGCONFIG= build
+USE_XZ= yes
+
+CONFIGURE_ARGS= --disable-werror --without-docs
+CONFIGURE_ENV= ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz"
+CPPFLAGS+= -I${LOCALBASE}/include
+
+.include <bsd.port.mk>
diff --git a/textproc/libmspub/distinfo b/textproc/libmspub/distinfo
new file mode 100644
index 000000000000..05bf364dbf0c
--- /dev/null
+++ b/textproc/libmspub/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libmspub-0.0.5.tar.xz) = 8ba71b640787d6b71337e2955d6fd10a11d8ca869359e03623193bf4f56e91ab
+SIZE (libmspub-0.0.5.tar.xz) = 349232
diff --git a/textproc/libmspub/pkg-descr b/textproc/libmspub/pkg-descr
new file mode 100644
index 000000000000..64c9a0c71933
--- /dev/null
+++ b/textproc/libmspub/pkg-descr
@@ -0,0 +1,4 @@
+Libmspub is library providing ability to interpret and import Microsoft
+Publisher content into various applications.
+
+WWW: http://www.freedesktop.org/wiki/Software/libmspub/
diff --git a/textproc/libmspub/pkg-plist b/textproc/libmspub/pkg-plist
new file mode 100644
index 000000000000..0356a2d03855
--- /dev/null
+++ b/textproc/libmspub/pkg-plist
@@ -0,0 +1,12 @@
+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.a
+lib/libmspub-0.0.la
+lib/libmspub-0.0.so
+lib/libmspub-0.0.so.0
+libdata/pkgconfig/libmspub-0.0.pc
+@dirrm include/libmspub-0.0/libmspub
+@dirrm include/libmspub-0.0