freebsd-ports/textproc/sary/Makefile

45 lines
1 KiB
Makefile
Raw Normal View History

# 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
PORTREVISION= 4
CATEGORIES= textproc
MASTER_SITES= http://prime.sourceforge.jp/freebsd/
MAINTAINER= ports@FreeBSD.org
COMMENT= A suffix array library and tools, which provide fast full-text search
2004-04-18 21:48:56 +02:00
CONFIGURE_DEPENDS= ${BUILD_DEPENDS}
USE_GNOME= glib20 gnomehack
USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake:15 autoconf:253 libtool:13
AUTOMAKE_ARGS= -a
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
2004-04-18 21:48:56 +02:00
cd ${WRKSRC} && ${ACLOCAL}
${REINPLACE_CMD} -e 's,--no-verify,,' ${WRKSRC}/aclocal.m4
2004-04-18 21:48:56 +02:00
cd ${WRKSRC} && ${LIBTOOLIZE} && ${AUTOHEADER}
post-install:
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/docs; ${MAKE} install
.endif
.include <bsd.port.mk>