aboutsummaryrefslogblamecommitdiff
path: root/net/netboot/Makefile
blob: 07c0a3e1a3eeb37273c609ec5ad82e15e4b5b5ed (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
                                                        



                       
                      
                   
                  
 
                                 

                                                     

                                                 

                              
                   

                   



                                                               

                                                 

                                                                         
                                                                          
 




                                                                                       
                      
# 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+=	LIBS="${LIBS} -L${LOCALBASE}/lib"
CFLAGS+=	-I${LOCALBASE}/include

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>