diff options
author | sat <sat@FreeBSD.org> | 2007-06-10 02:25:06 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2007-06-10 02:25:06 +0800 |
commit | 4e22f06cb03b9be527ddbdc27ee0f8fea99e60f5 (patch) | |
tree | c583408f8c68a9b2a8fb9eedec00d0e026e87521 /textproc/ots | |
parent | 73937849ff2b78f4b41370f1a0662df18d4bdcf0 (diff) | |
download | freebsd-ports-gnome-4e22f06cb03b9be527ddbdc27ee0f8fea99e60f5.tar.gz freebsd-ports-gnome-4e22f06cb03b9be527ddbdc27ee0f8fea99e60f5.tar.zst freebsd-ports-gnome-4e22f06cb03b9be527ddbdc27ee0f8fea99e60f5.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
Diffstat (limited to 'textproc/ots')
-rw-r--r-- | textproc/ots/Makefile | 35 | ||||
-rw-r--r-- | textproc/ots/distinfo | 3 | ||||
-rw-r--r-- | textproc/ots/pkg-descr | 5 | ||||
-rw-r--r-- | textproc/ots/pkg-plist | 46 |
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%% |