Mon Aug 31 12:16:52 2015 UTC ()
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.


(nros)
diff -r0 -r1.1 pkgsrc/textproc/ots/DESCR
diff -r0 -r1.1 pkgsrc/textproc/ots/Makefile
diff -r0 -r1.1 pkgsrc/textproc/ots/PLIST
diff -r0 -r1.1 pkgsrc/textproc/ots/buildlink3.mk
diff -r0 -r1.1 pkgsrc/textproc/ots/distinfo
diff -r0 -r1.1 pkgsrc/textproc/ots/patches/patch-Makefile.in

File Added: pkgsrc/textproc/ots/DESCR
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.

File Added: pkgsrc/textproc/ots/Makefile
# $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"

File Added: pkgsrc/textproc/ots/PLIST
@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

File Added: pkgsrc/textproc/ots/buildlink3.mk
# $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

File Added: pkgsrc/textproc/ots/distinfo
$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

File Added: pkgsrc/textproc/ots/patches/patch-Makefile.in
$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