summaryrefslogtreecommitdiff
path: root/www/ap-throttle
diff options
context:
space:
mode:
authorgrant <grant>2003-02-17 17:35:22 +0000
committergrant <grant>2003-02-17 17:35:22 +0000
commit600a979b10f898f6c0fc8e2d0ca12f83622ad17b (patch)
tree82120ec990f17902cc2902ca0ed0a9c048b1dfa9 /www/ap-throttle
parent6c3c83ccf1289b18e2cc3630e1a8c97f08c7a02d (diff)
downloadpkgsrc-600a979b10f898f6c0fc8e2d0ca12f83622ad17b.tar.gz
use apache/module.mk.
Diffstat (limited to 'www/ap-throttle')
-rw-r--r--www/ap-throttle/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/www/ap-throttle/Makefile b/www/ap-throttle/Makefile
index 51fbe36293b..49701e923c5 100644
--- a/www/ap-throttle/Makefile
+++ b/www/ap-throttle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/02/16 11:19:03 grant Exp $
+# $NetBSD: Makefile,v 1.2 2003/02/17 17:35:23 grant Exp $
DISTNAME= mod_throttle312
PKGNAME= ap-throttle-3.1.2
@@ -12,14 +12,8 @@ COMMENT= Apache module for limiting bandwidth usage
WRKSRC= ${WRKDIR}/${PKGNAME:S/ap-/mod_/}
-USE_BUILDLINK2= # defined
-APACHE_MODULE= # defined
+APACHE_MODULE_NAME= mod_throttle.so
+APACHE_MODULE_SRC= mod_throttle.c
-do-build:
- cd ${WRKSRC} && ${APXS} -c -o mod_throttle.so mod_throttle.c
-
-do-install:
- cd ${WRKSRC} && ${APXS} -i mod_throttle.so
-
-.include "../../www/apache/buildlink2.mk"
+.include "../../www/apache/module.mk"
.include "../../mk/bsd.pkg.mk"