freebsd-ports/textproc/sary/Makefile

31 lines
700 B
Makefile

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= sary
PORTVERSION= 1.2.0
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://sary.sourceforge.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= A suffix array library and tools, which provide fast full-text search
USES= pathfix pkgconfig
USE_GNOME= glib20
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
MAN1= sary.1 mksary.1
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/docs && ${FIND} . ! -name "*Makefile*" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
.include <bsd.port.mk>