summaryrefslogtreecommitdiff
path: root/net/pxe/Makefile
blob: d70fdd461574d7f81498a154715a301a26619ecd (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
38
39
40
# New ports collection makefile for:	pxe
# Date created:        			7 April 2002
# Whom:					Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	pxe
PORTVERSION=	1.4
CATEGORIES=	net
MASTER_SITES=	http://www.kano.org.uk/projects/pxe/ \
		ftp://ftp.nuug.no/pub/anders/distfiles/

MAINTAINER=	anders@FreeBSD.org
COMMENT=	PXE daemon, set up a boot menu for netbooting PXE enabled clients

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

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=		"Does not compile on FreeBSD ${OSVERSION}"
.endif

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.post.mk>