diff options
author | ryoon <ryoon> | 2015-08-12 00:29:14 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2015-08-12 00:29:14 +0000 |
commit | 6b2997e6aea32aac3ddffb4435e6e66da34f362a (patch) | |
tree | d1795ebe37758fd85ba73491d2aaced6805fdbc3 /converters | |
parent | 79dda88cadb3af1a14733f10b5303eea13bed99c (diff) | |
download | pkgsrc-6b2997e6aea32aac3ddffb4435e6e66da34f362a.tar.gz |
Import libwps-0.3.1 as converters/libwps03.
libwps is a library for reading Microsoft Works documents.
This package tracks 0.3 release branch for misc/libreoffice4.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/libwps03/DESCR | 2 | ||||
-rw-r--r-- | converters/libwps03/Makefile | 32 | ||||
-rw-r--r-- | converters/libwps03/PLIST | 11 | ||||
-rw-r--r-- | converters/libwps03/buildlink3.mk | 16 | ||||
-rw-r--r-- | converters/libwps03/distinfo | 6 | ||||
-rw-r--r-- | converters/libwps03/patches/patch-configure | 15 |
6 files changed, 82 insertions, 0 deletions
diff --git a/converters/libwps03/DESCR b/converters/libwps03/DESCR new file mode 100644 index 00000000000..7c5ebf5e899 --- /dev/null +++ b/converters/libwps03/DESCR @@ -0,0 +1,2 @@ +libwps is a library for reading Microsoft Works documents. +This package tracks 0.3 release branch for misc/libreoffice4. diff --git a/converters/libwps03/Makefile b/converters/libwps03/Makefile new file mode 100644 index 00000000000..5325fa5da22 --- /dev/null +++ b/converters/libwps03/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1 2015/08/12 00:29:14 ryoon Exp $ + +DISTNAME= libwps-0.3.1 +CATEGORIES= converters +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libwps/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://libwps.sourceforge.net/ +COMMENT= Library for importing Microsoft Works documents, 0.3 branch +LICENSE= gnu-lgpl-v2.1 + +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --without-docs +PKGCONFIG_OVERRIDE+= libwps.pc.in + +BUILDLINK_TRANSFORM+= rm:-Werror + +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +_WRAP_EXTRA_ARGS.CXX+= -Wno-unused-private-field -Wno-unused-const-variable +CWRAPPERS_APPEND.cxx+= -Wno-unused-private-field -Wno-unused-const-variable +.endif + +.include "../../converters/librevenge/buildlink3.mk" +.include "../../converters/libwpd/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../devel/boost-headers/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/converters/libwps03/PLIST b/converters/libwps03/PLIST new file mode 100644 index 00000000000..f6270db9256 --- /dev/null +++ b/converters/libwps03/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1 2015/08/12 00:29:14 ryoon Exp $ +bin/wks2csv +bin/wks2raw +bin/wks2text +bin/wps2html +bin/wps2raw +bin/wps2text +include/libwps-0.3/libwps/WPSDocument.h +include/libwps-0.3/libwps/libwps.h +lib/libwps-0.3.la +lib/pkgconfig/libwps-0.3.pc diff --git a/converters/libwps03/buildlink3.mk b/converters/libwps03/buildlink3.mk new file mode 100644 index 00000000000..73bb426ce58 --- /dev/null +++ b/converters/libwps03/buildlink3.mk @@ -0,0 +1,16 @@ +# $NetBSD: buildlink3.mk,v 1.1 2015/08/12 00:29:14 ryoon Exp $ + +BUILDLINK_TREE+= libwps + +.if !defined(LIBWPS_BUILDLINK3_MK) +LIBWPS_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libwps+= libwps>=0.2.0 +BUILDLINK_ABI_DEPENDS.libwps?= libwps>=0.3.0 +BUILDLINK_PKGSRCDIR.libwps?= ../../converters/libwps03 + +.include "../../converters/librevenge/buildlink3.mk" +.include "../../converters/libwpd/buildlink3.mk" +.endif # LIBWPS_BUILDLINK3_MK + +BUILDLINK_TREE+= -libwps diff --git a/converters/libwps03/distinfo b/converters/libwps03/distinfo new file mode 100644 index 00000000000..d5fa1f854b2 --- /dev/null +++ b/converters/libwps03/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2015/08/12 00:29:14 ryoon Exp $ + +SHA1 (libwps-0.3.1.tar.bz2) = f873f672adf0d92030ab2b6697be735ef6cfc6e2 +RMD160 (libwps-0.3.1.tar.bz2) = 109484e67bf62d64eeaf78417e1552b3e2f3d7fa +Size (libwps-0.3.1.tar.bz2) = 496436 bytes +SHA1 (patch-configure) = 5b3e7b782a708a9039032a9eb0f57ed21ead3c86 diff --git a/converters/libwps03/patches/patch-configure b/converters/libwps03/patches/patch-configure new file mode 100644 index 00000000000..c8eb9344736 --- /dev/null +++ b/converters/libwps03/patches/patch-configure @@ -0,0 +1,15 @@ +$NetBSD: patch-configure,v 1.1 2015/08/12 00:29:14 ryoon Exp $ + +Fix unportable test(1) operator. + +--- configure.orig 2014-12-30 09:10:53.000000000 +0000 ++++ configure +@@ -16187,7 +16187,7 @@ else + fi + + +-if test "x$platform_win32" == "xyes"; then : ++if test "x$platform_win32" = "xyes"; then : + + else + |