summaryrefslogtreecommitdiff
path: root/www/ap-auth-cookie/Makefile
blob: 968793d2e05adc4dffde889a95a69123497b8d27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.3 1998/07/13 16:45:25 tv 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
# one. 

DISTNAME=	mod_auth_cookie.c
PKGNAME=	ap-auth-cookie-1.6
NO_WRKSUBDIR=	yes
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.kciLink.com/pub/
EXTRACT_SUFX=	.gz

MAINTAINER=	tv@netbsd.org

DEPENDS+=	apache-1.3.0:../../www/apache

USE_PERL5=	yes	# for "apxs"
EXTRACT_CMD=	${DO_NADA}

post-extract:
	@(${ECHO} '#include "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
	@${CAT} ${PKGDIR}/MESSAGE

.include "../../mk/bsd.pkg.mk"