aboutsummaryrefslogtreecommitdiffstats
path: root/net/netboot/Makefile
blob: b6c650fcc92dc167e04635d4e0f5d70056af6db3 (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
# New ports collection makefile for:    netboot
# Date created:             16 Apr 2003
# Whom:                 dyeske@gmail.com
#
# $FreeBSD$

PORTNAME=   netboot
PORTVERSION=    0.10.2
CATEGORIES= net
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Netboot with Packet or NDIS-2 drivers

LIB_DEPENDS=    lzo2.2:${PORTSDIR}/archivers/lzo2

BROKEN=     does not build

USE_BDB=    42+
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
USE_BISON=  build
CONFIGURE_ARGS+=    --enable-static=no --enable-bootrom=yes

CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
        LIBS="${LIBS} -L${LOCALBASE}/lib"

MAN5=       netboot.5 netboot.config.5 netboot.drivers.5 netboot.db.5
MAN8=       mknbi-mgl.8 makerom.8 mknbi-dos.8 mknbi-linux.8 nbdbtool.8

post-install:
    @if [ ! -f ${PREFIX}/etc/netboot.config ]; then \
        ${CP} ${PREFIX}/etc/netboot.config-dist ${PREFIX}/etc/netboot.config; \
    fi

.include <bsd.port.mk>