aboutsummaryrefslogtreecommitdiffstats
path: root/www/swish-e/Makefile
blob: 1f697e8ef446884ffebbdc4b32b28ff5ee663ff6 (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
39
40
# New ports collection makefile for:    swish-e
# Date created:                 23 Feb 98
# Whom:                         Daniel O'Connor <doconnor@gsoft.com.au>
#
# $FreeBSD$
#

PORTNAME=   swish-e
PORTVERSION=    2.4.7
CATEGORIES= www textproc
MASTER_SITES=   http://swish-e.org/distribution/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple web indexing for humans - enhanced

USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes
USE_GNOME=  libxml2
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" \
        pkgdatadir="${DATADIR}"

.if !defined(NOPORTDOCS)
PORTDOCS=   *
.endif

MAN1=       SWISH-CONFIG.1 SWISH-FAQ.1 SWISH-LIBRARY.1 SWISH-RUN.1 swish-e.1

.if defined(NOPORTDOCS)
post-patch:
    @${REINPLACE_CMD} -E 's/^(install-data-am:) install-docDATA(.*)/\1\2/' \
        ${WRKSRC}/Makefile.in
.for p in pod prog-bin conf filter-bin filters html
    @${REINPLACE_CMD} -E 's/^(install-data-am:).*DATA(.*)/\1\2/' \
        ${WRKSRC}/${p}/Makefile.in
.endfor
.endif

.include <bsd.port.mk>