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

PORTNAME=   etherboot
PORTVERSION=    4.5.5
CATEGORIES= net
MASTER_SITES=   http://www.slug.org.au/etherboot/ \
        http://www.us.kernel.org/pub/linux/devel/gcc/ \
        http://www.ambrisko.com/doug/
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>