aboutsummaryrefslogtreecommitdiffstats
path: root/net/isboot-kmod/Makefile
blob: 667d95e99186bdde71c0445c0144e4385fd87780 (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
# $FreeBSD$

PORTNAME=   isboot-kmod
PORTVERSION=    0.2.13
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   http://www.peach.ne.jp/archives/isboot/
DISTNAME=   isboot-${PORTVERSION}

MAINTAINER= john@jnielsen.net
COMMENT=    Kernel module enabling iSCSI boot

LICENSE=    BSD2CLAUSE

BROKEN_armv6=       fails to compile: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99
BROKEN_powerpc64=   fails to compile: pcpu.h: size of array '__assert_0' is negative

USES=       kmod uidfix
SUB_FILES=  pkg-message
WRKSRC_SUBDIR=  src
PLIST_FILES=    ${KMODDIR}/isboot.ko
PORTDOCS=   README

OPTIONS_DEFINE= DOCS VIMAGE
VIMAGE_DESC=    Build for a kernel with 'options VIMAGE'
VIMAGE_CFLAGS=  -DVIMAGE

post-install-DOCS-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKDIR}/${DISTNAME} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>