- add missing header to fix potential 64-bit problems
- regen PLIST - specify license version - fix WANTLIB
This commit is contained in:
parent
57c5889fad
commit
e340a00547
@ -1,15 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2007/09/15 20:59:38 merdely Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2008/11/20 23:37:25 jasper Exp $
|
||||
|
||||
COMMENT= open source tool for summarizing texts
|
||||
DISTNAME= ots-0.4.2
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
SHARED_LIBS= ots-1 4.2
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libots/}
|
||||
|
||||
HOMEPAGE= http://libots.sourceforge.net/
|
||||
|
||||
# GPL
|
||||
# GPLv2+
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
@ -22,7 +22,7 @@ LIB_DEPENDS= glib-2.0.>=400.8::devel/glib2 \
|
||||
popt.>=0.3::devel/popt \
|
||||
xml2.>=9.0::textproc/libxml
|
||||
|
||||
WANTLIB= c m z
|
||||
WANTLIB= c m pcre z
|
||||
|
||||
USE_LIBTOOL=Yes
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
11
textproc/ots/patches/patch-src_grader-tf_c
Normal file
11
textproc/ots/patches/patch-src_grader-tf_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_grader-tf_c,v 1.1 2008/11/20 23:37:25 jasper Exp $
|
||||
--- src/grader-tf.c.orig Fri Nov 21 00:30:10 2008
|
||||
+++ src/grader-tf.c Fri Nov 21 00:30:25 2008
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#include <math.h>
|
||||
#include "libots.h"
|
||||
|
||||
/*Grader - using the Term frequency algorithm. Will give each line a score*/
|
@ -1,6 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/12/15 07:59:13 jolan Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2008/11/20 23:37:25 jasper Exp $
|
||||
%%SHARED%%
|
||||
bin/ots
|
||||
@bin bin/ots
|
||||
include/libots-1/
|
||||
include/libots-1/ots/
|
||||
include/libots-1/ots/libots.h
|
||||
|
Loading…
Reference in New Issue
Block a user