diff options
author | nros <nros@pkgsrc.org> | 2015-08-31 12:16:52 +0000 |
---|---|---|
committer | nros <nros@pkgsrc.org> | 2015-08-31 12:16:52 +0000 |
commit | c0cab2f9fa6118d9a0750de479b96756e3a89954 (patch) | |
tree | 7a0c18f09c7c3f366047a5505307a951d4ffa28d /textproc/ots | |
parent | 183032d1b17887a2a1f372df0ccacc49eef7773f (diff) | |
download | pkgsrc-c0cab2f9fa6118d9a0750de479b96756e3a89954.tar.gz |
Import of open text summarizer as textproc/ots to pkgsrc-current.
Package in pkgsrc-wip by nros.
The Open Text Summarizer is an open source tool for summarizing texts.
The program reads a text and decides which sentences are important and
which are not. OTS supports many (25+) languages which are configured
in XML files. Several academic publications have benchmarked it and
praised it.
Diffstat (limited to 'textproc/ots')
-rw-r--r-- | textproc/ots/DESCR | 5 | ||||
-rw-r--r-- | textproc/ots/Makefile | 21 | ||||
-rw-r--r-- | textproc/ots/PLIST | 42 | ||||
-rw-r--r-- | textproc/ots/buildlink3.mk | 14 | ||||
-rw-r--r-- | textproc/ots/distinfo | 6 | ||||
-rw-r--r-- | textproc/ots/patches/patch-Makefile.in | 13 |
6 files changed, 101 insertions, 0 deletions
diff --git a/textproc/ots/DESCR b/textproc/ots/DESCR new file mode 100644 index 00000000000..815beb55697 --- /dev/null +++ b/textproc/ots/DESCR @@ -0,0 +1,5 @@ +The Open Text Summarizer is an open source tool for summarizing texts. +The program reads a text and decides which sentences are important and +which are not. OTS supports many (25+) languages which are configured +in XML files. Several academic publications have benchmarked it and +praised it. diff --git a/textproc/ots/Makefile b/textproc/ots/Makefile new file mode 100644 index 00000000000..f71497b59ac --- /dev/null +++ b/textproc/ots/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2015/08/31 12:16:52 nros Exp $ + +DISTNAME= ots-0.5.0 +CATEGORIES= textproc +MASTER_SITES= http://downloads.sf.net/project/libots/libots/${DISTNAME}/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://libots.sf.net/ +COMMENT= Tool and library for auto-summarizing text +LICENSE= gnu-gpl-v2 + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +MAKE_JOBS_SAFE= no + +PKGCONFIG_OVERRIDE+= libots-1.pc.in + +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/popt/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/ots/PLIST b/textproc/ots/PLIST new file mode 100644 index 00000000000..0f6e78876ae --- /dev/null +++ b/textproc/ots/PLIST @@ -0,0 +1,42 @@ +@comment $NetBSD: PLIST,v 1.1 2015/08/31 12:16:52 nros Exp $ +bin/ots +include/libots-1/ots/libots.h +lib/libots-1.la +lib/pkgconfig/libots-1.pc +share/ots/bg.xml +share/ots/ca.xml +share/ots/cs.xml +share/ots/cy.xml +share/ots/da.xml +share/ots/de.xml +share/ots/el.xml +share/ots/en.xml +share/ots/eo.xml +share/ots/es.xml +share/ots/et.xml +share/ots/eu.xml +share/ots/fi.xml +share/ots/fr.xml +share/ots/ga.xml +share/ots/gl.xml +share/ots/he.xml +share/ots/hu.xml +share/ots/ia.xml +share/ots/id.xml +share/ots/is.xml +share/ots/it.xml +share/ots/lv.xml +share/ots/mi.xml +share/ots/ms.xml +share/ots/mt.xml +share/ots/nl.xml +share/ots/nn.xml +share/ots/pl.xml +share/ots/pt.xml +share/ots/ro.xml +share/ots/ru.xml +share/ots/sv.xml +share/ots/tl.xml +share/ots/tr.xml +share/ots/uk.xml +share/ots/yi.xml diff --git a/textproc/ots/buildlink3.mk b/textproc/ots/buildlink3.mk new file mode 100644 index 00000000000..1223b992e9c --- /dev/null +++ b/textproc/ots/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2015/08/31 12:16:52 nros Exp $ + +BUILDLINK_TREE+= ots + +.if !defined(OTS_BUILDLINK3_MK) +OTS_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ots+= ots>=0.5.0 +BUILDLINK_PKGSRCDIR.ots?= ../../textproc/ots + +.include "../../devel/glib2/buildlink3.mk" +.endif # OTS_BUILDLINK3_MK + +BUILDLINK_TREE+= -ots diff --git a/textproc/ots/distinfo b/textproc/ots/distinfo new file mode 100644 index 00000000000..bcb9d4b56ba --- /dev/null +++ b/textproc/ots/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2015/08/31 12:16:52 nros Exp $ + +SHA1 (ots-0.5.0.tar.gz) = 4468bc06470734848c2369a37c84f76ca4ac3f9a +RMD160 (ots-0.5.0.tar.gz) = e413267fc81ab9bf3da5f3787757ce20c7e0304e +Size (ots-0.5.0.tar.gz) = 371126 bytes +SHA1 (patch-Makefile.in) = b4c1672fcd34f2b0d32f8b21b662fa3de4dcf9a6 diff --git a/textproc/ots/patches/patch-Makefile.in b/textproc/ots/patches/patch-Makefile.in new file mode 100644 index 00000000000..e7333fec280 --- /dev/null +++ b/textproc/ots/patches/patch-Makefile.in @@ -0,0 +1,13 @@ +$NetBSD: patch-Makefile.in,v 1.1 2015/08/31 12:16:52 nros Exp $ +* don't build the doc directory since a file (gtk-doc.make) is missing. +--- Makefile.in.orig 2014-12-22 16:47:57.000000000 +0000 ++++ Makefile.in +@@ -100,7 +100,7 @@ STRIP = @STRIP@ + VERSION = @VERSION@ + VERSION_INFO = @VERSION_INFO@ + +-SUBDIRS = src dic doc ++SUBDIRS = src dic + DIST_SUBDIRS = src articles dic doc + + pkgconfigdir = $(libdir)/pkgconfig |