2013-04-08 13:17:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2013/04/08 11:17:24 rodent Exp $
|
2006-12-07 03:34:01 +01:00
|
|
|
#
|
|
|
|
|
2008-07-27 20:53:40 +02:00
|
|
|
DISTNAME= modxslt-${DIST_VER}
|
|
|
|
PKGNAME= ${APACHE_PKG_PREFIX}-xslt2-${DIST_VER}
|
2012-06-14 09:43:06 +02:00
|
|
|
PKGREVISION= 4
|
2008-07-27 20:53:40 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.mod-xslt2.com/software/archive/${DIST_VER}/
|
2006-12-07 03:34:01 +01:00
|
|
|
|
2008-07-27 20:53:40 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.mod-xslt2.com/
|
|
|
|
COMMENT= Apache module able to apply stylesheets to XML data on the fly
|
2006-12-07 03:34:01 +01:00
|
|
|
|
2008-07-27 20:53:40 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= gmake bash:run
|
2012-12-17 16:01:14 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
2006-12-07 03:34:01 +01:00
|
|
|
|
2008-07-27 20:53:40 +02:00
|
|
|
APACHE_MODULE= yes
|
|
|
|
DIST_VER= 2004112100
|
2006-12-07 03:34:01 +01:00
|
|
|
|
2008-07-27 20:53:40 +02:00
|
|
|
PKG_APACHE_ACCEPTED= apache2
|
2006-12-09 00:34:10 +01:00
|
|
|
|
2008-07-27 20:53:40 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-fallback-wraparound
|
|
|
|
CONFIGURE_ARGS+= --enable-libxslt-hack
|
2009-11-30 19:52:33 +01:00
|
|
|
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 \
|
2013-04-08 13:17:08 +02:00
|
|
|
--with-apu-config=${BUILDLINK_PREFIX.apr}/bin/apu-config
|
2006-12-07 03:34:01 +01:00
|
|
|
|
2008-07-27 20:53:40 +02:00
|
|
|
REPLACE_BASH= utils/modxslt-config.pre.in
|
2008-07-27 18:59:57 +02:00
|
|
|
|
2010-07-08 18:05:34 +02:00
|
|
|
INSTALLATION_DIRS+= bin lib/httpd
|
|
|
|
|
2008-07-27 20:53:40 +02:00
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
|
|
.include "../../mk/apache.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2006-12-07 03:34:01 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|