freebsd-ports/textproc/sary/Makefile
Akinori MUSHA 60cf0aedd0 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>
2003-09-29 07:44:28 +00:00

43 lines
911 B
Makefile

# New ports collection makefile for: Sary
# Date created: 8 October 2002
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= sary
PORTVERSION= 1.1.0
CATEGORIES= textproc
MASTER_SITES= http://prime.sourceforge.jp/freebsd/
MAINTAINER= knu@FreeBSD.org
COMMENT= A suffix array library and tools, which provide fast full-text search
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:
.if !defined(NOPORTDOCS)
${FIND} ${WRKSRC}/docs -type f -name 'Makefile.am' | \
${XARGS} ${REINPLACE_CMD} \
-e 's,^docsdir = .*,docsdir = \$$(datadir)/doc/sary,'
.endif
post-install:
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/docs; ${MAKE} install
.endif
.include <bsd.port.mk>