aboutsummaryrefslogtreecommitdiff
path: root/textproc/ots
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-06-09 18:25:06 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-06-09 18:25:06 +0000
commit08fc6a1973dd3a2e2dfe81f1390386e0b59f61d5 (patch)
treec8336e2bc2611fc934c13f1d053d5275bc9c515a /textproc/ots
parent9b0d2dff10ae24ce4d5d251fb39c583b7863dae2 (diff)
downloadports-08fc6a1973dd3a2e2dfe81f1390386e0b59f61d5.tar.gz
ports-08fc6a1973dd3a2e2dfe81f1390386e0b59f61d5.zip
Add port textproc/ots:
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. WWW: http://libots.sourceforge.net/ Inspired by: Debian Package of the Day Based on: OpenBSD port
Notes
Notes: svn path=/head/; revision=193115
Diffstat (limited to 'textproc/ots')
-rw-r--r--textproc/ots/Makefile35
-rw-r--r--textproc/ots/distinfo3
-rw-r--r--textproc/ots/pkg-descr5
-rw-r--r--textproc/ots/pkg-plist46
4 files changed, 89 insertions, 0 deletions
diff --git a/textproc/ots/Makefile b/textproc/ots/Makefile
new file mode 100644
index 000000000000..877c18ad280a
--- /dev/null
+++ b/textproc/ots/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: ots
+# Date created: 9 June 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ots
+PORTVERSION= 0.5.0
+CATEGORIES= textproc
+MASTER_SITES= SF/libots
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Open Text Summarizer
+
+LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+
+USE_GNOME= glib20 libxml2
+USE_LDCONFIG= yes
+USE_GETTEXT= yes
+USE_AUTOTOOLS= libtool:15
+GNU_CONFIGURE= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS= --disable-shared
+MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
+
+post-patch:
+ @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in
+
+post-build:
+ @${REINPLACE_CMD} -e '/old_library/d' ${WRKSRC}/src/libots-1.la
+
+.include <bsd.port.mk>
diff --git a/textproc/ots/distinfo b/textproc/ots/distinfo
new file mode 100644
index 000000000000..606402214698
--- /dev/null
+++ b/textproc/ots/distinfo
@@ -0,0 +1,3 @@
+MD5 (ots-0.5.0.tar.gz) = 1e140a4bf9d720b4339a5c2bdf4976e8
+SHA256 (ots-0.5.0.tar.gz) = ea908d22256166d1200fef55a82dd3ea8e096a249eaaf0b926f3577f1a63e137
+SIZE (ots-0.5.0.tar.gz) = 371126
diff --git a/textproc/ots/pkg-descr b/textproc/ots/pkg-descr
new file mode 100644
index 000000000000..43b09f4adb6a
--- /dev/null
+++ b/textproc/ots/pkg-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.
+
+WWW: http://libots.sourceforge.net/
diff --git a/textproc/ots/pkg-plist b/textproc/ots/pkg-plist
new file mode 100644
index 000000000000..54117cc4e2b3
--- /dev/null
+++ b/textproc/ots/pkg-plist
@@ -0,0 +1,46 @@
+bin/ots
+include/libots-1/ots/libots.h
+lib/libots-1.la
+lib/libots-1.so
+lib/libots-1.so.5
+libdata/pkgconfig/libots-1.pc
+%%DATADIR%%/bg.xml
+%%DATADIR%%/ca.xml
+%%DATADIR%%/cs.xml
+%%DATADIR%%/cy.xml
+%%DATADIR%%/da.xml
+%%DATADIR%%/de.xml
+%%DATADIR%%/el.xml
+%%DATADIR%%/en.xml
+%%DATADIR%%/eo.xml
+%%DATADIR%%/es.xml
+%%DATADIR%%/et.xml
+%%DATADIR%%/eu.xml
+%%DATADIR%%/fi.xml
+%%DATADIR%%/fr.xml
+%%DATADIR%%/ga.xml
+%%DATADIR%%/gl.xml
+%%DATADIR%%/he.xml
+%%DATADIR%%/hu.xml
+%%DATADIR%%/ia.xml
+%%DATADIR%%/id.xml
+%%DATADIR%%/is.xml
+%%DATADIR%%/it.xml
+%%DATADIR%%/lv.xml
+%%DATADIR%%/mi.xml
+%%DATADIR%%/ms.xml
+%%DATADIR%%/mt.xml
+%%DATADIR%%/nl.xml
+%%DATADIR%%/nn.xml
+%%DATADIR%%/pl.xml
+%%DATADIR%%/pt.xml
+%%DATADIR%%/ro.xml
+%%DATADIR%%/ru.xml
+%%DATADIR%%/sv.xml
+%%DATADIR%%/tl.xml
+%%DATADIR%%/tr.xml
+%%DATADIR%%/uk.xml
+%%DATADIR%%/yi.xml
+@dirrm include/libots-1/ots
+@dirrm include/libots-1
+@dirrm %%DATADIR%%