freebsd-ports/net/netboot/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

37 lines
865 B
Makefile

# 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>