aboutsummaryrefslogtreecommitdiffstats
path: root/net/mknbi/Makefile
blob: d31707bf0bfad6881f8443ac804aceee8db2a829 (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
# New ports collection makefile for:    mknbi
# Date created:             17 Mar 2005
# Whom:                 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

USE_GMAKE=  yes
USE_PERL5=  yes
ONLY_FOR_ARCHS= i386

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

.include <bsd.port.mk>