mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
195dcc68c6
This is a PXE daemon, which you can use to set up a networked boot menu for netbooting client machines (FreeBSD, Linux, Windows, etc.) that support & utilize Intel's Preboot eXecution Environment (PXE).
39 lines
894 B
Makefile
39 lines
894 B
Makefile
# New ports collection makefile for: pxe
|
|
# Date created: 7 April 2002
|
|
# Whom: Anders Nordby <anders@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pxe
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.kano.org.uk/projects/pxe/ \
|
|
ftp://ftp.nuug.no/pub/anders/distfiles/
|
|
|
|
MAINTAINER= anders@FreeBSD.org
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-config=${PREFIX}/etc/pxe.conf \
|
|
--with-log=/var/log/pxe.log \
|
|
--with-setuid=nobody
|
|
|
|
DOCS= Changes INSTALL LICENCE README
|
|
|
|
post-patch:
|
|
${PERL} -pi -e "s,^CFLAGS.*,CFLAGS=\t\@CFLAGS\@,; \
|
|
s,^CC.*,CC=\t${CXX}," \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pxe ${PREFIX}/sbin/
|
|
${INSTALL_DATA} ${WRKSRC}/pxe.conf ${PREFIX}/etc/pxe.conf.sample
|
|
.if !defined(NOPORTDOCS)
|
|
@${INSTALL} -d -m 0755 ${DOCSDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|