diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-06-09 18:25:06 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-06-09 18:25:06 +0000 |
commit | 08fc6a1973dd3a2e2dfe81f1390386e0b59f61d5 (patch) | |
tree | c8336e2bc2611fc934c13f1d053d5275bc9c515a | |
parent | 9b0d2dff10ae24ce4d5d251fb39c583b7863dae2 (diff) | |
download | ports-08fc6a1973dd3a2e2dfe81f1390386e0b59f61d5.tar.gz ports-08fc6a1973dd3a2e2dfe81f1390386e0b59f61d5.zip |
Notes
-rw-r--r-- | textproc/Makefile | 1 | ||||
-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 |
5 files changed, 90 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 4006bea65c32..5ef8361ca266 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -330,6 +330,7 @@ SUBDIR += openvanilla-framework SUBDIR += openvanilla-modules SUBDIR += or-aspell + SUBDIR += ots SUBDIR += p5-AI-Categorizer SUBDIR += p5-Algorithm-RabinKarp SUBDIR += p5-Apache-ParseLog 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%% |