summaryrefslogtreecommitdiff
path: root/www/ap-layout
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-02-17 17:35:22 +0000
committergrant <grant@pkgsrc.org>2003-02-17 17:35:22 +0000
commit0ce311e6943ef806b6094a3c18b62387d625d0aa (patch)
tree82120ec990f17902cc2902ca0ed0a9c048b1dfa9 /www/ap-layout
parent710d00a6a337f7d1450e1c4ab50930419f49d1e8 (diff)
downloadpkgsrc-0ce311e6943ef806b6094a3c18b62387d625d0aa.tar.gz
use apache/module.mk.
Diffstat (limited to 'www/ap-layout')
-rw-r--r--www/ap-layout/Makefile13
1 files changed, 5 insertions, 8 deletions
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"