aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sary
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-09-29 15:44:28 +0800
committerknu <knu@FreeBSD.org>2003-09-29 15:44:28 +0800
commit635db708b32fc112f1f3d9eb30ce5eb700e5715e (patch)
treee1cd3a4149de65bb99e9c1618bc02b29e92ccd20 /textproc/sary
parentf4f85055ba2e64154adac43ac110f7580f06440e (diff)
downloadfreebsd-ports-gnome-635db708b32fc112f1f3d9eb30ce5eb700e5715e.tar.gz
freebsd-ports-gnome-635db708b32fc112f1f3d9eb30ce5eb700e5715e.tar.zst
freebsd-ports-gnome-635db708b32fc112f1f3d9eb30ce5eb700e5715e.zip
Update sary to 1.1.0 and ruby-sary to 0.5.
Increase p5-Search-Saryer's PORTREVISION for the shared library version bump. Submitted by: Gen Otsuji <gen_otsuji@yahoo.co.jp>
Diffstat (limited to 'textproc/sary')
-rw-r--r--textproc/sary/Makefile14
-rw-r--r--textproc/sary/distinfo2
-rw-r--r--textproc/sary/files/patch-Makefile.am16
-rw-r--r--textproc/sary/files/patch-Makefile.in11
-rw-r--r--textproc/sary/pkg-plist6
5 files changed, 28 insertions, 21 deletions
diff --git a/textproc/sary/Makefile b/textproc/sary/Makefile
index fb9880d76c16..7c202072170c 100644
--- a/textproc/sary/Makefile
+++ b/textproc/sary/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= sary
-PORTVERSION= 1.0.4
+PORTVERSION= 1.1.0
CATEGORIES= textproc
-MASTER_SITES= http://sary.namazu.org/stable/
+MASTER_SITES= http://prime.sourceforge.jp/freebsd/
MAINTAINER= knu@FreeBSD.org
COMMENT= A suffix array library and tools, which provide fast full-text search
@@ -17,16 +17,20 @@ USE_GNOME= glib12 gnomehack
USE_REINPLACE= yes
GNU_CONFIGURE= yes
+USE_AUTOMAKE_VER= 15
+AUTOMAKE_ARGS= -a
USE_LIBTOOL= yes
+LIBTOOLFILES=
INSTALLS_SHLIB= yes
MAN1= sary.1 mksary.1
+pre-configure:
+ @cd ${WRKSRC} && ${ACLOCAL} && ${LIBTOOLIZE} && ${AUTOHEADER}
+
post-patch:
- ${REINPLACE_CMD} -e 's,glib-config,${GLIB_CONFIG},g' \
- ${WRKSRC}/configure ${WRKSRC}/sary-config.in
.if !defined(NOPORTDOCS)
- ${FIND} ${WRKSRC}/docs -type f -name 'Makefile.in' | \
+ ${FIND} ${WRKSRC}/docs -type f -name 'Makefile.am' | \
${XARGS} ${REINPLACE_CMD} \
-e 's,^docsdir = .*,docsdir = \$$(datadir)/doc/sary,'
.endif
diff --git a/textproc/sary/distinfo b/textproc/sary/distinfo
index 104a6aa39e90..212ea5f4254c 100644
--- a/textproc/sary/distinfo
+++ b/textproc/sary/distinfo
@@ -1 +1 @@
-MD5 (sary-1.0.4.tar.gz) = 07ee632e18b8f761acc6c095d4cb549a
+MD5 (sary-1.1.0.tar.gz) = 842117e74ec01756d86ef9201ccef0af
diff --git a/textproc/sary/files/patch-Makefile.am b/textproc/sary/files/patch-Makefile.am
new file mode 100644
index 000000000000..6228c57c688b
--- /dev/null
+++ b/textproc/sary/files/patch-Makefile.am
@@ -0,0 +1,16 @@
+--- Makefile.am.orig Tue Oct 22 11:18:18 2002
++++ Makefile.am Mon Sep 15 00:32:46 2003
+@@ -5,11 +5,11 @@
+
+ AUTOMAKE_OPTIONS = 1.4 no-dependencies
+
+-SUBDIRS = . docs man sary src tests debian
++SUBDIRS = . man sary src
+
+ include_HEADERS = sary.h
+
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = sary.pc
+
+ EXTRA_DIST = sary.pc.in sary.spec.in sary.spec
diff --git a/textproc/sary/files/patch-Makefile.in b/textproc/sary/files/patch-Makefile.in
deleted file mode 100644
index d3c3f06d1822..000000000000
--- a/textproc/sary/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig Fri Aug 23 01:39:41 2002
-+++ Makefile.in Tue Oct 8 21:43:06 2002
-@@ -90,7 +90,7 @@
-
- AUTOMAKE_OPTIONS = 1.4 no-dependencies
-
--SUBDIRS = . docs man sary src tests debian
-+SUBDIRS = . man sary src
-
- include_HEADERS = sary.h
-
diff --git a/textproc/sary/pkg-plist b/textproc/sary/pkg-plist
index f5e66d521862..c8cb5a79c717 100644
--- a/textproc/sary/pkg-plist
+++ b/textproc/sary/pkg-plist
@@ -1,6 +1,5 @@
bin/mksary
bin/sary
-bin/sary-config
include/sary.h
include/sary/array.h
include/sary/bsearch.h
@@ -13,7 +12,7 @@ include/sary/mkqsort.h
include/sary/mmap.h
include/sary/progress.h
include/sary/saryconfig.h
-include/sary/saryer.h
+include/sary/searcher.h
include/sary/sorter.h
include/sary/str.h
include/sary/text.h
@@ -22,10 +21,9 @@ include/sary/writer.h
lib/libsary.a
lib/libsary.la
lib/libsary.so
-lib/libsary.so.8
+lib/libsary.so.9
libdata/pkgconfig/sary.pc
@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
-share/aclocal/sary.m4
%%PORTDOCS%%share/doc/sary/en/libsary.html
%%PORTDOCS%%share/doc/sary/en/suffix-array.html
%%PORTDOCS%%share/doc/sary/images/figure1.png