blob: a264f957b663c93ece32e742c885d8a94e630350 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: Boris Kochergin <spawk@acm.poly.edu>
# $FreeBSD$
PORTNAME= geomWatch
PORTVERSION= 1.3.0
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://isis.poly.edu/~bk/${PORTNAME}/ \
http://bk.macroblock.net/${PORTNAME}/ \
http://svnweb.freebsd.org/base/head/sys/cddl/compat/opensolaris/sys/:nvpair
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
nvpair.h?revision=279437&view=co:nvpair
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= spawk@acm.poly.edu
COMMENT= Watches for and e-mails admins about GEOM/ZFS state changes
LIB_DEPENDS= libesmtp.so:mail/libesmtp
USES= tar:tbz
SUB_FILES= pkg-message
USE_RC_SUBR= ${PORTNAME}
MAKE_ARGS= WITH_ZFS=28
BROKEN_aarch64= Fails to compile: error: ISA not supported
.include <bsd.port.options.mk>
.if ${OPSYS} == DragonFly
IGNORE= requires geom(4) support
.endif
post-extract:
# base r279437 renamed libnvpair symbols
.if ${OSVERSION} > 1100062 && ${OSVERSION} < 1100077
${CP} ${_DISTDIR}/${DISTFILES:M*\:nvpair:C/:.*//} \
${WRKSRC}/zfs/v28/sys/cddl/compat/opensolaris/sys/nvpair.h
.endif
.include <bsd.port.mk>
|