From 1c767b90c4cdf2ce2387959f37df058ccbaf89f8 Mon Sep 17 00:00:00 2001
From: grant <grant@pkgsrc.org>
Date: Mon, 17 Feb 2003 17:57:19 +0000
Subject: use buildlink2 and apache/module.mk.

---
 www/ap-xslt/Makefile | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

(limited to 'www/ap-xslt')

diff --git a/www/ap-xslt/Makefile b/www/ap-xslt/Makefile
index 0118243dc53..7d7d4b4ac2c 100644
--- a/www/ap-xslt/Makefile
+++ b/www/ap-xslt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/09/10 16:06:51 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2003/02/17 17:57:19 grant Exp $
 
 DISTNAME=	modxslt
 PKGNAME=	ap-xslt-1.1
@@ -10,12 +10,11 @@ MAINTAINER=	jwise@netbsd.org
 HOMEPAGE=	http://modxslt.sourceforge.net/
 COMMENT=	Simple, fast XSLT transformations for apache
 
-DEPENDS+=	apache{,6}-1.3.*:../../www/apache
-DEPENDS+=	sablotron>=0.71nb1:../../textproc/sablotron
+USE_BUILDLINK2=	YES
 
-USE_PERL5=	build	# for "apxs"
-
-do-install:
-		${LOCALBASE}/sbin/apxs -i ${WRKSRC}/mod_xslt.so
+APACHE_MODULE_NAME=	mod_xslt.so
+APACHE_MODULE_SRC=	*.c
 
+.include "../../textproc/sablotron/buildlink2.mk"
+.include "../../www/apache/module.mk"
 .include "../../mk/bsd.pkg.mk"
-- 
cgit v1.2.3