mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
0492c912a2
- Switch to options helpers - Cosmetic fixes
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# Created by: Anders Nordby <anders@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pxe
|
|
PORTVERSION= 1.4.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.kano.org.uk/projects/pxe/ \
|
|
ftp://ftp.nuug.no/pub/anders/distfiles/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= PXE daemon, set up a boot menu for netbooting PXE enabled clients
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
|
|
|
USE_RC_SUBR= pxe
|
|
SUB_FILES= pkg-message
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-config=${PREFIX}/etc/pxe.conf \
|
|
--with-log=/var/log/pxe.log \
|
|
--with-setuid=nobody
|
|
|
|
PORTDOCS= Changes INSTALL README THANKS
|
|
PLIST_FILES= etc/pxe.conf.sample sbin/pxe
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/tmp/pxe.pid|/var/run/pxe.pid|' \
|
|
${WRKSRC}/autoconf.h.in
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pxe ${STAGEDIR}${PREFIX}/sbin
|
|
${INSTALL_DATA} ${WRKSRC}/pxe.conf \
|
|
${STAGEDIR}${PREFIX}/etc/pxe.conf.sample
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|