diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2010-12-09 20:51:25 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2010-12-09 20:51:25 +0000 |
commit | c07ac0c4d83c5645170e5f00a6388869a4899912 (patch) | |
tree | f8e839bd87b1e926c61b75fa77ca44c9992c118f /textproc/libtextcat | |
parent | 5286804af48bf197b68141bf9693aa4a99c53911 (diff) | |
download | ports-c07ac0c4d83c5645170e5f00a6388869a4899912.tar.gz ports-c07ac0c4d83c5645170e5f00a6388869a4899912.zip |
Notes
Diffstat (limited to 'textproc/libtextcat')
-rw-r--r-- | textproc/libtextcat/Makefile | 9 | ||||
-rw-r--r-- | textproc/libtextcat/distinfo | 4 | ||||
-rw-r--r-- | textproc/libtextcat/files/patch-src_Makefile.in | 25 | ||||
-rw-r--r-- | textproc/libtextcat/pkg-plist | 7 |
4 files changed, 34 insertions, 11 deletions
diff --git a/textproc/libtextcat/Makefile b/textproc/libtextcat/Makefile index 6a95bef764f6..0efb8cdee999 100644 --- a/textproc/libtextcat/Makefile +++ b/textproc/libtextcat/Makefile @@ -7,17 +7,16 @@ PORTNAME= libtextcat PORTVERSION= 2.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://software.wise-guys.nl/download/ -#PATCH_SITES= http://cvs.fedora.redhat.com/viewcvs/*checkout*/rpms/libtextcat/devel/ -#PATCHFILES= ${PORTNAME}-${PORTVERSION}-OOo.patch -#PATCH_DIST_STRIP= -p1 - MAINTAINER= thierry@FreeBSD.org COMMENT= Language guessing by N-Gram-Based Text Categorization +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/LICENSE + USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes diff --git a/textproc/libtextcat/distinfo b/textproc/libtextcat/distinfo index ee7300b9f849..17b058aa9606 100644 --- a/textproc/libtextcat/distinfo +++ b/textproc/libtextcat/distinfo @@ -1,6 +1,2 @@ -MD5 (libtextcat-2.2.tar.gz) = 128cfc86ed5953e57fe0f5ae98b62c2e SHA256 (libtextcat-2.2.tar.gz) = 5677badffc48a8d332e345ea4fe225e3577f53fc95deeec8306000b256829655 SIZE (libtextcat-2.2.tar.gz) = 540999 -MD5 (libtextcat-2.2-OOo.patch) = 1d5f1026392365c58f7a7406e923f886 -SHA256 (libtextcat-2.2-OOo.patch) = c8ffa9db08ec841536be120f847ad871746f14f77b305705c3781182d2449383 -SIZE (libtextcat-2.2-OOo.patch) = 21557 diff --git a/textproc/libtextcat/files/patch-src_Makefile.in b/textproc/libtextcat/files/patch-src_Makefile.in index 59724a01f40f..5c286548724f 100644 --- a/textproc/libtextcat/files/patch-src_Makefile.in +++ b/textproc/libtextcat/files/patch-src_Makefile.in @@ -1,5 +1,5 @@ ---- src/Makefile.in.orig Thu May 22 13:39:52 2003 -+++ src/Makefile.in Thu Aug 23 23:11:20 2007 +--- src/Makefile.in.orig 2003-05-22 13:39:52.000000000 +0200 ++++ src/Makefile.in 2010-12-09 21:29:22.000000000 +0100 @@ -126,18 +126,18 @@ WARNS = -W -Wall -Wshadow -Wpointer-arith @@ -31,3 +31,24 @@ libtextcat_la_OBJECTS = $(am_libtextcat_la_OBJECTS) bin_PROGRAMS = createfp$(EXEEXT) noinst_PROGRAMS = testtextcat$(EXEEXT) +@@ -264,6 +264,11 @@ + else :; fi; \ + done + ++install-HEADERS: ++ @$(NORMAL_INSTALL) ++ $(mkinstalldirs) $(DESTDIR)$(pkgincludedir) ++ $(INSTALL_HEADER) $(HEADERS) $(DESTDIR)$(pkgincludedir) ++ + uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ +@@ -490,7 +495,7 @@ + + install-data-am: + +-install-exec-am: install-binPROGRAMS install-libLTLIBRARIES ++install-exec-am: install-binPROGRAMS install-libLTLIBRARIES install-HEADERS + + install-info: install-info-am + diff --git a/textproc/libtextcat/pkg-plist b/textproc/libtextcat/pkg-plist index 74a45fa7fd43..7e3c72850082 100644 --- a/textproc/libtextcat/pkg-plist +++ b/textproc/libtextcat/pkg-plist @@ -1,4 +1,10 @@ bin/createfp +include/libtextcat/common.h +include/libtextcat/constants.h +include/libtextcat/fingerprint.h +include/libtextcat/textcat.h +include/libtextcat/utf8misc.h +include/libtextcat/wg_mempool.h include/textcat.h lib/libtextcat.a lib/libtextcat.la @@ -83,3 +89,4 @@ lib/libtextcat.so.0 %%DATADIR%%/conf.txt @dirrm %%DATADIR%%/LM @dirrm %%DATADIR%% +@dirrm include/libtextcat |