mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
d1681b68ca
Submitted by: Guerkan Karaman <gk.freebsd _at_ googlemail.com> Approved by: glarkin (mentor) gPXE is an open-source PXE implementation and bootloader. Create network booting code that allows computers to load their operating system from a network or to extend an existing PXE implementation with support for additional protocols, such iSCSI, HTTP, TFTP, NFS, FTP and ATA over Ethernet. WWW: http://etherboot.org/wiki/index.php
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# New ports collection Makefile for: gpxe
|
|
# Date created: 27-02-2010
|
|
# Whom: Guerkan Karaman <gk.freebsd@googlemail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gpxe
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_KERNEL_ORG}
|
|
MASTER_SITE_SUBDIR=software/utils/boot/gpxe
|
|
|
|
MAINTAINER= gk.freebsd@googlemail.com
|
|
COMMENT= Create an open-source PXE implementation and bootloader
|
|
|
|
BUILD_DEPENDS= syslinux:${PORTSDIR}/sysutils/syslinux
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_CDRTOOLS= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
PLIST_DIRS= %%DATADIR%%
|
|
PLIST_FILES= %%DATADIR%%/gpxe.dsk \
|
|
%%DATADIR%%/gpxe.usb \
|
|
%%DATADIR%%/gpxe.iso
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/arch/i386/Makefile
|
|
|
|
do-install:
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/src/bin/gpxe.dsk ${DATADIR}
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/src/bin/gpxe.usb ${DATADIR}
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/src/bin/gpxe.iso ${DATADIR}
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|