aboutsummaryrefslogtreecommitdiff
path: root/www/mod_proctitle/Makefile
blob: a2b22e853c86f06f34aa5c235067ef819ef0b707 (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
37
38
39
40
# New ports collection makefile for:	mod_proctitle
# Date created:				15 April 2007
# Whom:					stas
#
# $FreeBSD$
#

PORTNAME=	mod_proctitle
PORTVERSION=	0.3
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.springdaemons.com/soft/
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}

MAINTAINER=	stas@FreeBSD.org
COMMENT=	Set httpd process titles to reflect currently processed request

MAKE_JOBS_SAFE=  yes

USE_APACHE=	2.0+
GNU_CONFIGURE=	yes
USE_BZIP2=	yes
CFLAGS+=	-I${LOCALBASE}/include
PLIST_FILES=	${APACHEMODDIR}/${PORTNAME}.so

.include <bsd.port.pre.mk>
.if ${APACHE_VERSION} == 20
CFLAGS+=	-I${LOCALBASE}/include/apr-0
.else
CFLAGS+=	-I${LOCALBASE}/include/apr-1
.endif

.if ${OSVERSION} >= 900000
BROKEN=		does not configure on 9.X
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/mod_proctitle.so \
		${PREFIX}/${APACHEMODDIR}/

.include <bsd.port.post.mk>