mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
31 lines
686 B
Makefile
31 lines
686 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
|
|
|
|
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>
|