aboutsummaryrefslogtreecommitdiff
path: root/sysutils/graid5/Makefile
blob: 4167757e14f6cef203f614f45fc6f33c149a98a6 (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
# New ports collection makefile for:	graid5
# Date created:				09 Nov 2010
# Whom:					Lev Serebryakov <lev@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	graid5
PORTVERSION=	${MAINVERSION}.${VERSIONDATE}
CATEGORIES=	sysutils kld
MASTER_SITES=	http://lev.serebryakov.spb.ru/download/graid5/

MAINTAINER=	lev@FreeBSD.org
COMMENT=	RAID5 geom class

USE_BZIP2=	yes

NO_PACKAGE=	should be recompiled for a particular FreeBSD kernel

MAINVERSION=1.0
VERSIONDATE=20101212.29

KMODDIR?=	/boot/modules
PLIST_SUB+=	KMODDIR=${KMODDIR}
MAKE_ENV+=	KMODDIR=${KMODDIR}

MANCOMPRESSED=	yes
MAN8=		${PORTNAME}.8

.if !exists(/usr/src/sys/Makefile)
IGNORE=	requires kernel source files
.elif !exists(/usr/src/sbin/geom/Makefile)
IGNORE=	requires sbin source files
.endif

post-install:
	kldxref ${KMODDIR}

post-deinstall:
	kldxref ${KMODDIR}

.include <bsd.port.mk>