aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_backtrace/Makefile
blob: 55244771f0d1e5f9003b61f13ea678480595b391 (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
41
42
43
44
# New ports collection makefile for:    mod_backtrace
# Date created:                 Thu Nov  4 10:08:27 CET 2010
# Whom:                         Frank Wall <fw@moov.de>
#
# $FreeBSD$
#

PORTNAME=   mod_backtrace
PORTVERSION=    1.0
CATEGORIES= www
MASTER_SITES=   http://people.apache.org/~trawick/ \
        http://dl.moov.de/freebsd/${PORTNAME}/
DISTNAME=   ${PORTNAME}.c
EXTRACT_SUFX=   # none
EXTRACT_ONLY=   # empty

MAINTAINER= fw@moov.de
COMMENT=    Collects backtraces when a child process crashes

LIB_DEPENDS=    execinfo.1:${PORTSDIR}/devel/libexecinfo

MAKE_JOBS_SAFE= yes
MANUAL_PACKAGE_BUILD=   yes

USE_APACHE= 20+
AP_FAST_BUILD=  YES
AP_GENPLIST=    YES
AP_EXTRAS+= -lexecinfo
AP_LIB+=    ${LOCALBASE}/lib
SHORTMODNAME=   backtrace

WRKSRC=     ${WRKDIR}

pre-everything::
    @${ECHO_MSG} "*********************** PLEASE NOTE! ***********************"
    @${ECHO_MSG} "Apache httpd must be built with the --enable-exception-hook"
    @${ECHO_MSG} "configure option and mod_so enabled."
    @${ECHO_MSG} "*********************** PLEASE NOTE! ***********************"

do-extract:
    ${MKDIR} ${WRKSRC}/
    ${CP} ${DISTDIR}/${PORTNAME}.c ${WRKSRC}/

.include <bsd.port.mk>