aboutsummaryrefslogblamecommitdiff
path: root/www/mod_backtrace/Makefile
blob: 9c60bbe995d5bc417ebb17190d921e9f086c9a7e (plain) (tree)
1
2
3
4
5
6
                                     
           


                             
                 









                                                                

                        
                                                               
 
                           

                   



                                
                   







                                                                                   

                                                

                      
# Created by: Frank Wall <fw@moov.de>
# $FreeBSD$

PORTNAME=	mod_backtrace
PORTVERSION=	1.0
PORTREVISION=	2
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

LICENSE=	APACHE20

MANUAL_PACKAGE_BUILD=	requires apache WITH_EXCEPTION_HOOK=yes

USES=		apache:2.2+
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes
AP_EXTRAS+=	-lexecinfo
AP_LIB+=	${LOCALBASE}/lib
SHORTMODNAME=	backtrace

NO_WRKSUBDIR=	yes

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>