freebsd-ports/www/mod_proctitle/Makefile
Stanislav Sedov 8699d25406 - Bring back the functionality that showed the process state in the title.
It was nuked out of version 0.4 by a mistake.

Reported by:	Olivier Mueller <o.mueller@insign.ch>
2011-09-09 04:59:28 +00:00

37 lines
807 B
Makefile

# New ports collection makefile for: mod_proctitle
# Date created: 15 April 2007
# Whom: stas
#
# $FreeBSD$
#
PORTNAME= mod_proctitle
PORTVERSION= 0.4.1
PORTREVISION= 0
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= 20+
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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/mod_proctitle.so \
${PREFIX}/${APACHEMODDIR}/
.include <bsd.port.post.mk>