summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-10-06 19:01:17 +0000
committerbapt <bapt@FreeBSD.org>2014-10-06 19:01:17 +0000
commitfda361e149c8756a76b83eddd4fe1dc20b04a115 (patch)
treee08925892f5403f53a83b5edaf8c9f1a92b3a6b2
parentaaeda2460919afeb66e301491c214e3db50c72de (diff)
downloadFreeBSD-ports-fda361e149c8756a76b83eddd4fe1dc20b04a115.zip
FreeBSD-ports-fda361e149c8756a76b83eddd4fe1dc20b04a115.tar.gz
Import libwpd010
Make sure libwpd is not conflicting with libwpd010 by not installing the tools
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/libwpd/Makefile5
-rw-r--r--textproc/libwpd/pkg-plist6
-rw-r--r--textproc/libwpd010/Makefile26
-rw-r--r--textproc/libwpd010/distinfo2
-rw-r--r--textproc/libwpd010/pkg-descr7
-rw-r--r--textproc/libwpd010/pkg-plist12
7 files changed, 52 insertions, 7 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 02decc8..06138f0 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -381,6 +381,7 @@
SUBDIR += libuninameslist
SUBDIR += libvisio
SUBDIR += libwpd
+ SUBDIR += libwpd010
SUBDIR += libwps
SUBDIR += libxdiff
SUBDIR += libxml++26
diff --git a/textproc/libwpd/Makefile b/textproc/libwpd/Makefile
index 374a961..93a7323 100644
--- a/textproc/libwpd/Makefile
+++ b/textproc/libwpd/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libwpd
PORTVERSION= 0.9.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -22,4 +22,7 @@ INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --without-docs
PLIST_SUB= MAJVER=${PORTVERSION:R}
+post-stage:
+ @${RM} ${STAGEDIR}${PREFIX}/bin/wpd*
+
.include <bsd.port.mk>
diff --git a/textproc/libwpd/pkg-plist b/textproc/libwpd/pkg-plist
index 2a4bc6a..b344e67 100644
--- a/textproc/libwpd/pkg-plist
+++ b/textproc/libwpd/pkg-plist
@@ -1,6 +1,3 @@
-bin/wpd2html
-bin/wpd2raw
-bin/wpd2text
include/libwpd-%%MAJVER%%/libwpd/WPDocument.h
include/libwpd-%%MAJVER%%/libwpd/WPXBinaryData.h
include/libwpd-%%MAJVER%%/libwpd/WPXDocumentInterface.h
@@ -22,6 +19,3 @@ lib/libwpd-stream-%%MAJVER%%.so.9
lib/libwpd-stream-%%MAJVER%%.so.9.0.9
libdata/pkgconfig/libwpd-%%MAJVER%%.pc
libdata/pkgconfig/libwpd-stream-%%MAJVER%%.pc
-@dirrm include/libwpd-%%MAJVER%%/libwpd-stream
-@dirrm include/libwpd-%%MAJVER%%/libwpd
-@dirrm include/libwpd-%%MAJVER%%
diff --git a/textproc/libwpd010/Makefile b/textproc/libwpd010/Makefile
new file mode 100644
index 0000000..98304fb
--- /dev/null
+++ b/textproc/libwpd010/Makefile
@@ -0,0 +1,26 @@
+# Created by: reed@pugetsoundtechnology.com
+# $FreeBSD$
+
+PORTNAME= libwpd
+PORTVERSION= 0.10.0
+CATEGORIES= textproc
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= office@FreeBSD.org
+COMMENT= Tools for importing and exporting WordPerfect(tm) documents
+
+LICENSE= LGPL21 MPL
+LICENSE_COMB= dual
+
+LIB_DEPENDS= librevenge-0.0.so:${PORTSDIR}/textproc/librevenge
+
+USES= pathfix libtool:keepla tar:bzip2
+GNU_CONFIGURE= yes
+USE_GNOME= libgsf
+USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+
+CONFIGURE_ARGS= --without-docs
+PLIST_SUB= MAJVER=${PORTVERSION:R}
+
+.include <bsd.port.mk>
diff --git a/textproc/libwpd010/distinfo b/textproc/libwpd010/distinfo
new file mode 100644
index 0000000..0a14fd7
--- /dev/null
+++ b/textproc/libwpd010/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libwpd-0.10.0.tar.bz2) = f2bf5d65156a351ce404550dd822c8db8ab8740b393f61dba828d1b2cb33fe91
+SIZE (libwpd-0.10.0.tar.bz2) = 632272
diff --git a/textproc/libwpd010/pkg-descr b/textproc/libwpd010/pkg-descr
new file mode 100644
index 0000000..ebd37d7
--- /dev/null
+++ b/textproc/libwpd010/pkg-descr
@@ -0,0 +1,7 @@
+libwpd is a library for reading and writing WordPerfect(tm)
+documents.
+
+This package also includes utilities for converting to HTML
+and plain text.
+
+WWW: http://libwpd.sourceforge.net/
diff --git a/textproc/libwpd010/pkg-plist b/textproc/libwpd010/pkg-plist
new file mode 100644
index 0000000..3a9fe0d
--- /dev/null
+++ b/textproc/libwpd010/pkg-plist
@@ -0,0 +1,12 @@
+bin/wpd2html
+bin/wpd2raw
+bin/wpd2text
+include/libwpd-%%MAJVER%%/libwpd/WPDocument.h
+include/libwpd-%%MAJVER%%/libwpd/libwpd.h
+lib/libwpd-%%MAJVER%%.la
+lib/libwpd-%%MAJVER%%.so
+lib/libwpd-%%MAJVER%%.so.10
+lib/libwpd-%%MAJVER%%.so.10.0.0
+libdata/pkgconfig/libwpd-%%MAJVER%%.pc
+@dirrm include/libwpd-%%MAJVER%%/libwpd
+@dirrm include/libwpd-%%MAJVER%%
OpenPOWER on IntegriCloud