aboutsummaryrefslogtreecommitdiffstats
path: root/net/mknbi/Makefile
blob: 20046c0d0a57d1cca27634b294bbb4949409b0b8 (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
# Created by: X
# $FreeBSD$

PORTNAME=   mknbi
PORTVERSION=    1.4.4
CATEGORIES= net
MASTER_SITES=   SF/etherboot/${PORTNAME}/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Creates tagged boot images for net/ether boot

BUILD_DEPENDS=  nasm:${PORTSDIR}/devel/nasm

MAN1=       mknbi.1 disnbi.1
.for i in   mkelf.1 mknbi-linux.1 mkelf-linux.1 \
        mknbi-rom.1 mkelf-img.1 mknbi-menu.1 mkelf-menu.1 \
        mknbi-nfl.1 mkelf-nfl.1 mknbi-dos.1 mknbi-fdos.1 mkelf-lua.1
MLINKS+=    mknbi.1 ${i}
.endfor

PORTDOCS=   COPYING README LOG spec.txt

USES=       perl5
USE_GMAKE=  yes
ONLY_FOR_ARCHS= i386

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e 's,^static int terminal,int terminal,' \
        ${WRKSRC}/nfl.c

.include <bsd.port.mk>