summaryrefslogtreecommitdiff
path: root/www/ap-auth-cookie
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-02-17 20:59:57 +0000
committergrant <grant@pkgsrc.org>2003-02-17 20:59:57 +0000
commit99f63263ee7d7c340faacc6c260fc95ee58d9874 (patch)
tree7a1c7fe4c58e21427c048b8cdcfbc2104b4129e4 /www/ap-auth-cookie
parenta25ed7d30d6f5212ff6e058474208c7ed2a5e8e6 (diff)
downloadpkgsrc-99f63263ee7d7c340faacc6c260fc95ee58d9874.tar.gz
use apache/module.mk.
Diffstat (limited to 'www/ap-auth-cookie')
-rw-r--r--www/ap-auth-cookie/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/www/ap-auth-cookie/Makefile b/www/ap-auth-cookie/Makefile
index e3988843e5e..d39b76392ea 100644
--- a/www/ap-auth-cookie/Makefile
+++ b/www/ap-auth-cookie/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2003/02/14 17:46:57 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2003/02/17 20:59:57 grant Exp $
#
# There are a few more mod_auth_cookie's out there doing slightly
# different things. This one pkg would be a good place to dump them all in
@@ -14,22 +14,18 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= ftp://ftp.kciLink.com/pub/mod_auth_cookie.txt
COMMENT= Cookie-based authentication for Apache
-DEPENDS+= apache{,6}-1.3.*:../../www/apache
-USE_PERL5= build # for "apxs"
+USE_BUILDLINK2= YES
EXTRACT_CMD= ${DO_NADA}
WRKSRC= ${WRKDIR}
+APACHE_MODULE_NAME= mod_auth_cookie.so
+
DIST_SUBDIR= ${PKGNAME}
post-extract:
@(${ECHO} '#include "ap_compat.h"'; ${GZIP_CMD} -dc ${DISTDIR}/${DISTFILES}) \
>${WRKSRC}/${DISTNAME}
-do-build:
- @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -c mod_auth_cookie.c
-
-do-install:
- @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -i mod_auth_cookie.so
-
+.include "../../www/apache/module.mk"
.include "../../mk/bsd.pkg.mk"