summaryrefslogtreecommitdiff
path: root/www/swish-e/Makefile
blob: 4fcfda2551008b759e40a7f573d103e669666fcd (plain)
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
# $NetBSD: Makefile,v 1.14 2004/02/14 17:21:54 jlam Exp $
# FreeBSD Id: ports/www/swish-e/Makefile,v 1.3 1999/08/31 02:43:18 peter Exp

DISTNAME=	swish-e-2.4.1
PKGREVISION=	1
CATEGORIES=	www textproc
MASTER_SITES=	http://swish-e.org/Download/

MAINTAINER=	dotz@irc.pl
HOMEPAGE= 	http://swish-e.org/
COMMENT= 	Simple web indexing for humans - enhanced

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes

CONFIGURE_ARGS+=	--with-libxml2=${BUILDLINK_PREFIX.libxml2}
CONFIGURE_ARGS+=	--with-pcre=${BUILDLINK_PREFIX.pcre}
CONFIGURE_ARGS+=	--with-zlib=${BUILDLINK_PREFIX.zlib}

REPLACE_PERL=		prog-bin/*.pl conf/*.pl filter-bin/*.pl html/*.pl

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "FreeBSD"
PLIST_SUBST+=	LIBSWISH_E="@comment "
.else
PLIST_SUBST+=	LIBSWISH_E=
.endif

.include "../../devel/pcre/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../textproc/libxml2/buildlink2.mk"

.include "../../mk/bsd.pkg.mk"