# Created by: Akinori MUSHA aka knu # $FreeBSD: head/textproc/sary/Makefile 517055 2019-11-08 12:59:36Z tobik $ PORTNAME= sary PORTVERSION= 1.2.0 PORTREVISION= 5 CATEGORIES= textproc MASTER_SITES= http://sary.sourceforge.net/ MAINTAINER= ports@FreeBSD.org COMMENT= Suffix array library and tools, which provide fast full-text search GNU_CONFIGURE= yes USES= gnome libtool pathfix pkgconfig USE_GNOME= glib20 USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${FIND} . ! -name "*Makefile*" | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsary.so .include