blob: 85e5dd4209793b69d0c7718357d59b7342308ef1 (
plain)
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
|
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnu-efi
PORTVERSION= 3.0.9
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/gnu-efi
MAINTAINER= egypcio@FreeBSD.org
COMMENT= SDK for EFI applications
LICENSE= GPLv2
ONLY_FOR_ARCHS= amd64 i386
BUILD_DEPENDS= ${LOCALBASE}/bin/ar:devel/binutils
USES= compiler:c++11-lib gmake tar:bz2
CFLAGS+= -fPIC
CPPFLAGS+= -fPIC
MAKE_ARGS+= CC=${CC} HOSTCC=${CC} AR=${AR}
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
PLIST_SUB= ARCH_amd64="" ARCH_i386="@comment "
.elif ${ARCH} == i386
PLIST_SUB= ARCH_i386="" ARCH_amd64="@comment "
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.o
.include <bsd.port.post.mk>
|