summaryrefslogtreecommitdiff
path: root/net/etherboot/Makefile
blob: af687f992a480bcebac89327c4f76a090d0bf0bb (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
# New ports collection makefile for:   etherboot
# Date created:        16 April 1999
# Whom:                Doug Ambrisko <ambrisko@whistle.com>
#
# $FreeBSD$
#

PORTNAME=	etherboot
PORTVERSION=	4.6.1
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
		http://www.us.kernel.org/pub/linux/devel/gcc/ \
		http://www.ambrisko.com/doug/
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTFILES=	${DISTNAME}.tar.gz ${BINUTILS_VER}.tar.gz

MAINTAINER=	ambrisko@whistle.com

BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm

NO_PACKAGE=	lots of configuration necessary
USE_GMAKE=1
WRKSRC=		${WRKDIR}/${DISTNAME}/src
BINUTILS_VER=   binutils-2.9.1.0.25  # need newer version of gas for data32

pre-configure:
	cd ${WRKDIR}/${BINUTILS_VER} ; \
	   ./configure -host=i386-unknown-freebsdelf

pre-build:
	cd ${WRKDIR}/${BINUTILS_VER} ; \
	make

do-install:
	@${ECHO} Refer ${PKGDIR}/DESCR and ${WRKDIR}/${PKGNAME}/doc for how to
	@${ECHO} build and install the rom/floppy image.
	@exit 1

.include <bsd.port.mk>