aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sary/Makefile
blob: b913945196a19164b569f5ebaf4133700b82e855 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    Sary
# Date created:     8 October 2002
# Whom:         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

USE_GNOME=  glib20 gnomehack gnometarget
USE_AUTOTOOLS=  libtool:22
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>