aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-09-09 05:41:11 +0800
committermarcus <marcus@FreeBSD.org>2009-09-09 05:41:11 +0800
commit99c08fb250d0b763347d639ed1a15f76ca50b78a (patch)
tree28e70c5def089d813916480aee662c6c054cbba5
parentb9df3e5b490bdae8bcff912f69b067d234bc6491 (diff)
downloadfreebsd-ports-gnome-99c08fb250d0b763347d639ed1a15f76ca50b78a.tar.gz
freebsd-ports-gnome-99c08fb250d0b763347d639ed1a15f76ca50b78a.tar.zst
freebsd-ports-gnome-99c08fb250d0b763347d639ed1a15f76ca50b78a.zip
Update to 4.5.10.
PR: 138312 Submitted by: bf <bf1783@gmail.com>
-rw-r--r--textproc/link-grammar/Makefile4
-rw-r--r--textproc/link-grammar/distinfo6
-rw-r--r--textproc/link-grammar/files/patch-configure11
-rw-r--r--textproc/link-grammar/files/patch-data__en__4.0.affix12
-rw-r--r--textproc/link-grammar/pkg-plist6
5 files changed, 34 insertions, 5 deletions
diff --git a/textproc/link-grammar/Makefile b/textproc/link-grammar/Makefile
index 7f8744d5ede9..19445c5f80fe 100644
--- a/textproc/link-grammar/Makefile
+++ b/textproc/link-grammar/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= link-grammar
-PORTVERSION= 4.5.4
+PORTVERSION= 4.5.10
CATEGORIES= textproc
MASTER_SITES= http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/
@@ -17,6 +17,8 @@ USE_GNOME= gnomehack gnometarget ltverhack
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:22
USE_LDCONFIG= yes
+USE_DOS2UNIX= yes
+USE_CSTD= gnu99
CFLAGS+= ${PTHREAD_CFLAGS}
CONFIGURE_ARGS= --enable-pthreads \
--disable-java-bindings
diff --git a/textproc/link-grammar/distinfo b/textproc/link-grammar/distinfo
index fb9920c67074..ad951d8ab893 100644
--- a/textproc/link-grammar/distinfo
+++ b/textproc/link-grammar/distinfo
@@ -1,3 +1,3 @@
-MD5 (link-grammar-4.5.4.tar.gz) = fd03003e51a446f255947206d7011d18
-SHA256 (link-grammar-4.5.4.tar.gz) = 798fd2a889b9efb5b840d4ae6b05c00cec52eb6943a777c7ae8c52edb2d3ca04
-SIZE (link-grammar-4.5.4.tar.gz) = 1027484
+MD5 (link-grammar-4.5.10.tar.gz) = dccbc17df807e6e57119fc7b17e7d962
+SHA256 (link-grammar-4.5.10.tar.gz) = e9de45d537310fd8b8d5d775bd91f0330563e66ff315327eb3208662f2f4e036
+SIZE (link-grammar-4.5.10.tar.gz) = 1069973
diff --git a/textproc/link-grammar/files/patch-configure b/textproc/link-grammar/files/patch-configure
new file mode 100644
index 000000000000..213f036e2251
--- /dev/null
+++ b/textproc/link-grammar/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2009-08-29 09:38:25.000000000 -0400
++++ configure 2009-08-29 09:38:47.000000000 -0400
+@@ -16831,7 +16831,7 @@
+ # needed to get fileno, strdup, etc. and so it needs to be manually
+ # enabled again.
+
+-CFLAGS="${CFLAGS} -std=c99 -D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE -D_GNU_SOURCE"
++#CFLAGS="${CFLAGS} -std=c99 -D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE -D_GNU_SOURCE"
+
+ # Check whether --enable-debug was given.
+ if test "${enable_debug+set}" = set; then
diff --git a/textproc/link-grammar/files/patch-data__en__4.0.affix b/textproc/link-grammar/files/patch-data__en__4.0.affix
new file mode 100644
index 000000000000..4fe84d317f62
--- /dev/null
+++ b/textproc/link-grammar/files/patch-data__en__4.0.affix
@@ -0,0 +1,12 @@
+--- data/en/4.0.affix.orig 2009-08-29 12:22:29.000000000 -0400
++++ data/en/4.0.affix 2009-08-29 12:23:50.000000000 -0400
+@@ -19,6 +19,8 @@
+ † †† ‡ § ¶ © № "#": LPUNC+;
+
+ /en/words/units.1: UNITS+;
+-/en/words/units.2: UNITS+;
++/en/words/units.1.dot: UNITS+;
+ /en/words/units.3: UNITS+;
++/en/words/units.4: UNITS+;
++/en/words/units.4.dot: UNITS+;
+
diff --git a/textproc/link-grammar/pkg-plist b/textproc/link-grammar/pkg-plist
index 5577bc3fe9c1..1578f3beba6b 100644
--- a/textproc/link-grammar/pkg-plist
+++ b/textproc/link-grammar/pkg-plist
@@ -17,9 +17,11 @@ libdata/pkgconfig/link-grammar.pc
%%DATADIR%%/en/4.0.biolg.batch
%%DATADIR%%/en/4.0.constituent-knowledge
%%DATADIR%%/en/4.0.dict
+%%DATADIR%%/en/4.0.enwiki.batch
%%DATADIR%%/en/4.0.fixes.batch
%%DATADIR%%/en/4.0.knowledge
%%DATADIR%%/en/4.0.regex
+%%DATADIR%%/en/4.0.voa.batch
%%DATADIR%%/en/tiny.dict
%%DATADIR%%/en/words/currency
%%DATADIR%%/en/words/currency.p
@@ -31,8 +33,10 @@ libdata/pkgconfig/link-grammar.pc
%%DATADIR%%/en/words/entities.organizations.sing
%%DATADIR%%/en/words/entities.us-states.sing
%%DATADIR%%/en/words/units.1
-%%DATADIR%%/en/words/units.2
+%%DATADIR%%/en/words/units.1.dot
%%DATADIR%%/en/words/units.3
+%%DATADIR%%/en/words/units.4
+%%DATADIR%%/en/words/units.4.dot
%%DATADIR%%/en/words/words-medical.adv.1
%%DATADIR%%/en/words/words-medical.prep.1
%%DATADIR%%/en/words/words-medical.v.4.1