summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-07-03 08:04:29 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-07-03 08:04:29 +0000
commita69067224817a932d60fe6a2c628670e012c1b6b (patch)
tree1443aaf0bf34a27828267535c99c4c5395fc3ea0
parentmultimedia/{lib}x264: Update to 0.144.2533 and major refactor (diff)
editors/calligra still requires libwps 0.2.x. Resurrect the old version.
Notes
Notes: svn path=/head/; revision=391218
-rw-r--r--editors/calligra/Makefile4
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/libwps02/Makefile37
-rw-r--r--textproc/libwps02/distinfo2
-rw-r--r--textproc/libwps02/pkg-descr7
-rw-r--r--textproc/libwps02/pkg-plist7
6 files changed, 56 insertions, 2 deletions
diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile
index b13d3eb6151c..d3fdb8655094 100644
--- a/editors/calligra/Makefile
+++ b/editors/calligra/Makefile
@@ -2,7 +2,7 @@
PORTNAME= calligra
PORTVERSION= ${CALLIGRA_VERSION}
-PORTREVISION= 15
+PORTREVISION= 16
CATEGORIES= editors kde
MASTER_SITES= KDE/${CALLIGRA_BRANCH}/${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= KDE
@@ -26,7 +26,7 @@ LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
libfftw3.so:${PORTSDIR}/math/fftw3 \
libtiff.so:${PORTSDIR}/graphics/tiff \
libgsl.so:${PORTSDIR}/math/gsl \
- libwps-0.2.so:${PORTSDIR}/textproc/libwps \
+ libwps-0.2.so:${PORTSDIR}/textproc/libwps02 \
libvisio-0.0.so:${PORTSDIR}/textproc/libvisio \
libOpenColorIO.so:${PORTSDIR}/graphics/opencolorio
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen2.pc:${PORTSDIR}/math/eigen2
diff --git a/textproc/Makefile b/textproc/Makefile
index 80dda1393add..e5c3a4ba3df7 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -394,6 +394,7 @@
SUBDIR += libwpd
SUBDIR += libwpd010
SUBDIR += libwps
+ SUBDIR += libwps02
SUBDIR += libwps03
SUBDIR += libxdiff
SUBDIR += libxml++26
diff --git a/textproc/libwps02/Makefile b/textproc/libwps02/Makefile
new file mode 100644
index 000000000000..d44c5386e9ac
--- /dev/null
+++ b/textproc/libwps02/Makefile
@@ -0,0 +1,37 @@
+# Created by: Michael Johnson <ahze@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libwps
+PORTVERSION= 0.2.9
+CATEGORIES= textproc
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+PKGNAMESUFFIX= 02
+
+MAINTAINER= office@FreeBSD.org
+COMMENT= Microsoft file word processor format import filter library
+
+LICENSE= LGPL21 MPL
+LICENSE_COMB= dual
+
+LIB_DEPENDS= libwpd-0.9.so:${PORTSDIR}/textproc/libwpd
+
+CONFIGURE_ARGS= --disable-werror --without-docs
+CPPFLAGS+= -I${LOCALBASE}/include
+GNU_CONFIGURE= yes
+USES= compiler:features libtool:keepla pathfix pkgconfig
+USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_FEATURES:Mlibc++}
+CONFIGURE_ARGS+= --with-sharedptr=c++11
+.else
+BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
+CONFIGURE_ARGS+= --with-sharedptr=boost
+.endif
+
+post-stage:
+ @${RM} -f ${STAGEDIR}${PREFIX}/bin/*
+
+.include <bsd.port.post.mk>
diff --git a/textproc/libwps02/distinfo b/textproc/libwps02/distinfo
new file mode 100644
index 000000000000..ddf67d0fa80e
--- /dev/null
+++ b/textproc/libwps02/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libwps-0.2.9.tar.gz) = de57e3eb91eb1c6b9c6f1a765f943a3ac894e7575fad117a88ab7959fc29256d
+SIZE (libwps-0.2.9.tar.gz) = 615767
diff --git a/textproc/libwps02/pkg-descr b/textproc/libwps02/pkg-descr
new file mode 100644
index 000000000000..b9fabb298083
--- /dev/null
+++ b/textproc/libwps02/pkg-descr
@@ -0,0 +1,7 @@
+Libwps is a library (for use by word procesors, for example) for importing the
+Microsoft Works word processor file format. It imports Works format versions 2,
+3, 4, 5 (aka 2000), and 8 with some formatting. The scope of this project is
+just a Works word processor import filter, so there are no plans for supporting
+an export filter, spreadsheets, or databases.
+
+WWW: http://libwps.sourceforge.net/
diff --git a/textproc/libwps02/pkg-plist b/textproc/libwps02/pkg-plist
new file mode 100644
index 000000000000..dac0556fd621
--- /dev/null
+++ b/textproc/libwps02/pkg-plist
@@ -0,0 +1,7 @@
+include/libwps-0.2/libwps/WPSDocument.h
+include/libwps-0.2/libwps/libwps.h
+lib/libwps-0.2.la
+lib/libwps-0.2.so
+lib/libwps-0.2.so.2
+lib/libwps-0.2.so.2.0.9
+libdata/pkgconfig/libwps-0.2.pc