aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/libvisio/Makefile5
-rw-r--r--textproc/libvisio/pkg-plist8
-rw-r--r--textproc/libvisio01/Makefile34
-rw-r--r--textproc/libvisio01/distinfo2
-rw-r--r--textproc/libvisio01/pkg-descr3
-rw-r--r--textproc/libvisio01/pkg-plist12
7 files changed, 56 insertions, 9 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index f4f6b4ba08c7..0b63df4b5199 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -380,6 +380,7 @@
SUBDIR += libunibreak
SUBDIR += libuninameslist
SUBDIR += libvisio
+ SUBDIR += libvisio01
SUBDIR += libwpd
SUBDIR += libwpd010
SUBDIR += libwps
diff --git a/textproc/libvisio/Makefile b/textproc/libvisio/Makefile
index 9d535fd769d9..380a5e3abdd8 100644
--- a/textproc/libvisio/Makefile
+++ b/textproc/libvisio/Makefile
@@ -2,7 +2,7 @@
PORTNAME= libvisio
PORTVERSION= 0.0.31
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= textproc devel
MASTER_SITES= http://dev-www.libreoffice.org/src/
@@ -32,4 +32,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf
CONFIGURE_ENV+= GPERF=${LOCALBASE}/bin/gperf
.endif
+post-stage:
+ @${RM} -f ${STAGEDIR}${PREFIX}/bin/vs*
+
.include <bsd.port.post.mk>
diff --git a/textproc/libvisio/pkg-plist b/textproc/libvisio/pkg-plist
index 95e9ceeb801e..7accc8b82a6c 100644
--- a/textproc/libvisio/pkg-plist
+++ b/textproc/libvisio/pkg-plist
@@ -1,9 +1,3 @@
-bin/vss2raw
-bin/vss2text
-bin/vss2xhtml
-bin/vsd2text
-bin/vsd2raw
-bin/vsd2xhtml
include/libvisio-0.0/libvisio/VSDStringVector.h
include/libvisio-0.0/libvisio/VisioDocument.h
include/libvisio-0.0/libvisio/libvisio.h
@@ -11,5 +5,3 @@ lib/libvisio-0.0.so
lib/libvisio-0.0.so.0
lib/libvisio-0.0.so.0.0.31
libdata/pkgconfig/libvisio-0.0.pc
-@dirrmtry include/libvisio-0.0/libvisio
-@dirrmtry include/libvisio-0.0
diff --git a/textproc/libvisio01/Makefile b/textproc/libvisio01/Makefile
new file mode 100644
index 000000000000..704a8f418e56
--- /dev/null
+++ b/textproc/libvisio01/Makefile
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME= libvisio
+PORTVERSION= 0.1.0
+CATEGORIES= textproc devel
+MASTER_SITES= http://dev-www.libreoffice.org/src/
+PKGNAMESUFFIX= 01
+
+MAINTAINER= office@FreeBSD.org
+COMMENT= Library and tools for parsing the visio file format structure
+
+LICENSE= LGPL21 MPL GPLv2
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= ${LOCALBASE}/include/boost/spirit/include/classic_core.hpp:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS= libicui18n.so:${PORTSDIR}/devel/icu \
+ librevenge-0.0.so:${PORTSDIR}/textproc/librevenge
+
+CONFIGURE_ARGS= --disable-werror --without-docs
+CPPFLAGS+= -I${LOCALBASE}/include
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+USE_PERL5= build
+USES= gmake libtool pathfix perl5 pkgconfig tar:xz
+INSTALL_TARGET= install-strip
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 802516 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900502)
+BUILD_DEPENDS+= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf
+CONFIGURE_ENV+= GPERF=${LOCALBASE}/bin/gperf
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/libvisio01/distinfo b/textproc/libvisio01/distinfo
new file mode 100644
index 000000000000..fa585fc8ba4a
--- /dev/null
+++ b/textproc/libvisio01/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libvisio-0.1.0.tar.xz) = 0e4f1d49b7cd01173f846995655f2175bbdbde4eac05697bd28667723d176d6f
+SIZE (libvisio-0.1.0.tar.xz) = 362740
diff --git a/textproc/libvisio01/pkg-descr b/textproc/libvisio01/pkg-descr
new file mode 100644
index 000000000000..255f15203876
--- /dev/null
+++ b/textproc/libvisio01/pkg-descr
@@ -0,0 +1,3 @@
+Library and tools for parsing the visio file format structure
+
+WWW: http://www.freedesktop.org/wiki/Software/libvisio
diff --git a/textproc/libvisio01/pkg-plist b/textproc/libvisio01/pkg-plist
new file mode 100644
index 000000000000..e609d4a3d151
--- /dev/null
+++ b/textproc/libvisio01/pkg-plist
@@ -0,0 +1,12 @@
+bin/vss2raw
+bin/vss2text
+bin/vss2xhtml
+bin/vsd2text
+bin/vsd2raw
+bin/vsd2xhtml
+include/libvisio-0.1/libvisio/VisioDocument.h
+include/libvisio-0.1/libvisio/libvisio.h
+lib/libvisio-0.1.so
+lib/libvisio-0.1.so.1
+lib/libvisio-0.1.so.1.0.0
+libdata/pkgconfig/libvisio-0.1.pc