pkgsrc/www/swish-e/Makefile
kristerw b5093449dc Make sure the directories exists before trying to install in them.
Solves PR 25426.

Add dependency on PERL5 so that the configure script does the right
thing, since this package use the path in places that cannot be
patched by REPLACE_PERL (and bin/swish-filter-test need perl to
run anyway).

Bump PKGREVISION.
2004-06-27 18:30:54 +00:00

36 lines
964 B
Makefile

# $NetBSD: Makefile,v 1.18 2004/06/27 18:30:54 kristerw 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= 3
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
USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_PERL5= 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/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"