1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Resolve configure-time dependencies.

This commit is contained in:
Akinori MUSHA 2004-04-18 19:48:56 +00:00
parent e973bad285
commit 829679567c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107483

View File

@ -14,6 +14,8 @@ MASTER_SITES= http://prime.sourceforge.jp/freebsd/
MAINTAINER= knu@FreeBSD.org
COMMENT= A suffix array library and tools, which provide fast full-text search
CONFIGURE_DEPENDS= ${BUILD_DEPENDS}
USE_GNOME= glib20 gnomehack
USE_REINPLACE= yes
@ -26,16 +28,14 @@ INSTALLS_SHLIB= yes
MAN1= sary.1 mksary.1
pre-configure:
cd ${WRKSRC} && ${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
@cd ${WRKSRC} && ${ACLOCAL}
cd ${WRKSRC} && ${ACLOCAL}
${REINPLACE_CMD} -e 's,--no-verify,,' ${WRKSRC}/aclocal.m4
cd ${WRKSRC} && ${LIBTOOLIZE} && ${AUTOHEADER}
post-install:
.if !defined(NOPORTDOCS)