summaryrefslogtreecommitdiff
path: root/www/ap2-xslt2/Makefile
blob: aa5fc13974d4bbb113a322f119c009030118373f (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
35
36
37
38
39
40
41
# $NetBSD: Makefile,v 1.13 2012/03/03 00:14:05 wiz Exp $
#

DISTNAME=	modxslt-${DIST_VER}
PKGNAME=	${APACHE_PKG_PREFIX}-xslt2-${DIST_VER}
PKGREVISION=	3
CATEGORIES=	www
MASTER_SITES=	http://www.mod-xslt2.com/software/archive/${DIST_VER}/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.mod-xslt2.com/
COMMENT=	Apache module able to apply stylesheets to XML data on the fly

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	gmake bash:run

APACHE_MODULE=	yes
DIST_VER=	2004112100

PKG_APACHE_ACCEPTED=	apache2

CONFIGURE_ARGS+=	--enable-fallback-wraparound
CONFIGURE_ARGS+=	--enable-libxslt-hack
CONFIGURE_ARGS+=	--with-apxs=${PREFIX}/sbin/apxs \
			--with-xml2-config=${BUILDLINK_PREFIX.libxml2}/bin/xml2-config \
			--with-apr-config=${BUILDLINK_PREFIX.apr}/bin/apr-config \
			--with-apu-config=${BUILDLINK_PREFIX.apr}/bin/apu-config 

REPLACE_BASH=	utils/modxslt-config.pre.in

INSTALLATION_DIRS+=	bin lib/httpd

.include "../../devel/pcre/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/apache.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"