aboutsummaryrefslogtreecommitdiff
path: root/www/mod_log_firstbyte/Makefile
blob: 181606fd0bd492a5a9a3a5f22597a0a61e2466b7 (plain) (blame)
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
33
34
35
36
# New ports collection makefile for:    mod_log_firstbyte
# Date created:				January 29, 2008
# Whom:					Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	mod_log_firstbyte
PORTVERSION=	1.01
CATEGORIES=	www
MASTER_SITES=	http://mod-log-firstbyte.googlecode.com/svn/trunk/
DISTFILES=	${PORTNAME}.c readme.txt

MAINTAINER=	leeym@FreeBSD.org
COMMENT=	Log the time between request and the first byte of the response served

PROJECTHOST=	mod-log-firstbyte
USE_APACHE=	2.0+
MOD=		mod_log_firstbyte
PKGMESSAGE=	${WRKSRC}/readme.txt
DIST_SUBDIR=	${PORTNAME}

do-extract:
	${MKDIR} ${WRKSRC}
	cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}

do-build:
	cd ${WRKSRC} && ${APXS} -c ${MOD}.c

do-install:
	${APXS} -i -a ${WRKSRC}/${MOD}.la

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>