aboutsummaryrefslogtreecommitdiff
path: root/sysutils/panicmail/Makefile
blob: 732f6e6053e103998f2b2a7a48e9a0677221f632 (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
# $FreeBSD$

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>