aboutsummaryrefslogtreecommitdiff
path: root/devel/gnu-efi/Makefile
blob: 962049870c9fe6cd17e40576c6b97cadf6517937 (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
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$

PORTNAME=	gnu-efi
PORTVERSION=	3.0.3
PORTREVISION=	3
CATEGORIES=	devel
MASTER_SITES=	SF/gnu-efi

MAINTAINER=	tz@FreeBSD.org
COMMENT=	SDK for EFI applications

LICENSE=	GPLv2

BUILD_DEPENDS+=	${LOCALBASE}/bin/ar:devel/binutils

USES=		gmake tar:bz2
USE_GCC=	yes
MAKE_JOBS_UNSAFE=	yes
CFLAGS+=	"-fPIC"
CPPFLAGS+=	"-fPIC"
MAKE_ARGS+=	CC=${CC} HOSTCC=${CC} AR=${AR}
ONLY_FOR_ARCHS=	amd64

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/crt0-efi-x86_64.o

.include <bsd.port.mk>