freebsd-ports/textproc/sary/Makefile

30 lines
726 B
Makefile
Raw Normal View History

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= sary
PORTVERSION= 1.2.0
PORTREVISION= 4
CATEGORIES= textproc
MASTER_SITES= http://sary.sourceforge.net/
MAINTAINER= ports@FreeBSD.org
2014-07-02 20:18:07 +02:00
COMMENT= Suffix array library and tools, which provide fast full-text search
2014-07-02 20:18:07 +02:00
GNU_CONFIGURE= yes
USES= 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:
2014-02-21 02:53:46 +01:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${FIND} . ! -name "*Makefile*" | \
2014-02-21 02:53:46 +01:00
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
2014-07-03 00:14:02 +02:00
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsary.so
.include <bsd.port.mk>