summaryrefslogtreecommitdiff
path: root/sysutils/panicmail/Makefile
blob: 85cc17848744a46aa2d82797f98b5a47e3a62478 (plain)
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

PORTNAME=	panicmail
PORTVERSION=	1.1
CATEGORIES=	sysutils
MASTER_SITES=	http://www.daemonology.net/panicmail/

MAINTAINER=	cperciva@FreeBSD.org
COMMENT=	Automatically report kernel panics

LICENSE=	BSD2CLAUSE

RUN_DEPENDS=	pkesh:security/pkesh

NO_BUILD=	yes

PLIST_FILES=	etc/rc.d/panicmail \
		etc/cperciva-panicmail.pem

# Pull in gdb from ports for FreeBSD versions where it's not in base
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 1200028
RUN_DEPENDS+=	${LOCALBASE}/bin/gdb:devel/gdb
.endif

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/panicmail ${STAGEDIR}${PREFIX}/etc/rc.d/
	${INSTALL_DATA} ${WRKSRC}/cperciva-panicmail.pem ${STAGEDIR}${PREFIX}/etc

.include <bsd.port.post.mk>