From 0ce311e6943ef806b6094a3c18b62387d625d0aa Mon Sep 17 00:00:00 2001 From: grant Date: Mon, 17 Feb 2003 17:35:22 +0000 Subject: use apache/module.mk. --- www/ap-layout/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'www/ap-layout') diff --git a/www/ap-layout/Makefile b/www/ap-layout/Makefile index a8250417156..2e771acf00e 100644 --- a/www/ap-layout/Makefile +++ b/www/ap-layout/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2003/02/17 14:40:34 grant Exp $ +# $NetBSD: Makefile,v 1.5 2003/02/17 17:35:22 grant Exp $ # DISTNAME= mod_layout-3.2 @@ -11,19 +11,16 @@ MAINTAINER= grant@netbsd.org HOMEPAGE= http://software.tangent.org/ COMMENT= Apache module to wrap static or dynamic content -DEPENDS+= apache{,6}-1.3.*:../../www/apache -USE_PERL5= build # for "apxs" - LAYOUT_DIR= ${PREFIX}/share/httpd/htdocs/manual/mod/mod_layout -do-build: - @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -c -o mod_layout.so *.c +APACHE_MODULE_NAME= mod_layout.so +APACHE_MODULE_SRC= *.c -do-install: - @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -i mod_layout.so +post-install: ${INSTALL_DATA_DIR} ${LAYOUT_DIR} ${INSTALL_DATA} ${WRKSRC}/faq.html ${LAYOUT_DIR} ${INSTALL_DATA_DIR} ${LAYOUT_DIR}/directives cd ${WRKSRC}/directives; ${PAX} -rw . ${LAYOUT_DIR}/directives +.include "../../www/apache/module.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3