aboutsummaryrefslogtreecommitdiffstats
path: root/net/etherboot/Makefile
blob: e9e09356faff090e354ed77fe44a0f65550c59f6 (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
# Version required:    4.2.11
# Date created:        16 April 1999
# Whom:                Doug Ambrisko <ambrisko@whistle.com>
#
# $FreeBSD$
#

DISTNAME=   etherboot-4.2.11
PKGNAME=    etherboot-4.2
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}/${PKGNAME}/src-32
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>