aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/amberfish/Makefile
blob: e93db3246be8a5a7ee52c6262ae49be4f1ecdf22 (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
34
35
36
37
38
# New ports collection makefile for:   amberfish
# Date created:         21 Aug 2008
# Whom:             Pedro Giffuni
#
# $FreeBSD$
#

PORTNAME=   amberfish
PORTVERSION=    1.6.4
CATEGORIES= textproc databases
MASTER_SITES=   SF/${PORTNAME}/Amberfish%20source%20-%20stable/${PORTVERSION}   \
        http://etymon.com/software/amberfish/stable/


MAINTAINER= ports@FreeBSD.org
COMMENT=    General purpose text retrieval Software

LIB_DEPENDS=    xerces-c.27:${PORTSDIR}/textproc/xerces-c2

GNU_CONFIGURE=  yes
USE_GMAKE=  yes

MAN1=   af.1

post-extract:
    ${INSTALL_DATA} ${FILESDIR}/porter.cc ${WRKSRC}/src

.if !defined(NOPORTDOCS)
post-build:
    @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} html)

post-install:
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/amberfish.png ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/doc/html/*.html ${DOCSDIR}
.endif

.include <bsd.port.mk>