1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

- Update to 1.2.0

- Remove files/patch-Makefile.am

PR:		90197
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Emanuel Haupt 2005-12-10 18:53:13 +00:00
parent 2028303991
commit ca7a1d70c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150813
5 changed files with 29 additions and 57 deletions

View File

@ -6,39 +6,28 @@
#
PORTNAME= sary
PORTVERSION= 1.1.0
PORTREVISION= 4
PORTVERSION= 1.2.0
CATEGORIES= textproc
MASTER_SITES= http://prime.sourceforge.jp/freebsd/
MASTER_SITES= http://sary.sourceforge.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= A suffix array library and tools, which provide fast full-text search
CONFIGURE_DEPENDS= ${BUILD_DEPENDS}
USE_GNOME= glib20 gnomehack
USE_GNOME= glib20 gnomehack gnometarget
USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake:15 autoconf:253 libtool:13
AUTOMAKE_ARGS= -a
USE_AUTOTOOLS= libtool:15
INSTALLS_SHLIB= yes
MAN1= sary.1 mksary.1
pre-configure:
.if !defined(NOPORTDOCS)
${FIND} ${WRKSRC}/docs -type f -name 'Makefile.am' | \
${XARGS} ${REINPLACE_CMD} \
-e 's,^docsdir = .*,docsdir = \$$(datadir)/doc/sary,'
.endif
cd ${WRKSRC} && ${ACLOCAL}
${REINPLACE_CMD} -e 's,--no-verify,,' ${WRKSRC}/aclocal.m4
cd ${WRKSRC} && ${LIBTOOLIZE} && ${AUTOHEADER}
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/docs; ${MAKE} install
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/docs && ${FIND} . ! -name "*Makefile*" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (sary-1.1.0.tar.gz) = 842117e74ec01756d86ef9201ccef0af
SHA256 (sary-1.1.0.tar.gz) = 67f15d17c1b3633d251e9350417605e0db767443726ea643361d34acaf6ffb12
SIZE (sary-1.1.0.tar.gz) = 216326
MD5 (sary-1.2.0.tar.gz) = 10b9a803025c5f428014a7f1ff849ecc
SHA256 (sary-1.2.0.tar.gz) = d4b16e32c97a253b546922d2926c8600383352f0af0d95e2938b6d846dfc6a11
SIZE (sary-1.2.0.tar.gz) = 393787

View File

@ -1,16 +0,0 @@
--- 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

View File

@ -4,4 +4,4 @@ data structure called a suffix array. It can also search specific
fields in a text file by assigning index points to those fields.
Author: Satoru Takabayashi <satoru@namazu.org>
WWW: http://sary.namazu.org/index.html.en
WWW: http://sary.sourceforge.net/index.html.en

View File

@ -17,23 +17,22 @@ include/sary/sorter.h
include/sary/str.h
include/sary/text.h
include/sary/writer.h
@dirrm include/sary
lib/libsary.a
lib/libsary.la
lib/libsary.so
lib/libsary.so.9
lib/libsary.so.10
libdata/pkgconfig/sary.pc
%%PORTDOCS%%share/doc/sary/en/libsary.html
%%PORTDOCS%%share/doc/sary/en/suffix-array.html
%%PORTDOCS%%share/doc/sary/images/figure1.png
%%PORTDOCS%%share/doc/sary/images/figure2.png
%%PORTDOCS%%share/doc/sary/images/figure3.png
%%PORTDOCS%%share/doc/sary/images/figure4.png
%%PORTDOCS%%share/doc/sary/images/figure5.png
%%PORTDOCS%%share/doc/sary/ja/libsary.html
%%PORTDOCS%%share/doc/sary/ja/suffix-array.html
%%PORTDOCS%%share/doc/sary/sary.css
%%PORTDOCS%%@dirrm share/doc/sary/en
%%PORTDOCS%%@dirrm share/doc/sary/images
%%PORTDOCS%%@dirrm share/doc/sary/ja
%%PORTDOCS%%@dirrm share/doc/sary
%%PORTDOCS%%%%DOCSDIR%%/en/libsary.html
%%PORTDOCS%%%%DOCSDIR%%/en/suffix-array.html
%%PORTDOCS%%%%DOCSDIR%%/images/figure1.png
%%PORTDOCS%%%%DOCSDIR%%/images/figure2.png
%%PORTDOCS%%%%DOCSDIR%%/images/figure3.png
%%PORTDOCS%%%%DOCSDIR%%/images/figure4.png
%%PORTDOCS%%%%DOCSDIR%%/images/figure5.png
%%PORTDOCS%%%%DOCSDIR%%/ja/libsary.html
%%PORTDOCS%%%%DOCSDIR%%/ja/suffix-array.html
%%PORTDOCS%%%%DOCSDIR%%/sary.css
%%PORTDOCS%%@dirrm %%DOCSDIR%%/ja
%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
%%PORTDOCS%%@dirrm %%DOCSDIR%%/en
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/sary