ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/sysutils/grub2-efi/Makefile
Revision: 23623
Committed: Sun Jul 22 16:23:54 2018 UTC (5 years, 9 months ago) by laffer1
Content type: text/plain
File size: 1533 byte(s)
Log Message:
add more grub ports

File Contents

# Content
1 # Created by: kmoore@FreeBSD.org
2 # $FreeBSD: head/sysutils/grub2-efi/Makefile 457088 2017-12-23 17:18:36Z tijl $
3 # $MidnightBSD$
4
5 PORTNAME= grub2-efi
6 PORTVERSION= 2.02
7 CATEGORIES= sysutils
8 MASTER_SITES= http://www.pcbsd.org/~kris/software/ \
9 ftp://ftp.pcbsd.org/pub/software/
10 DISTNAME= grub-${PORTVERSION}_7
11
12 MAINTAINER= ports@MidnightBSD.org
13 COMMENT= Multiboot EFI boot loader
14
15 LICENSE= gpl3
16
17 RUN_DEPENDS= ${LOCALBASE}/bin/mformat:emulators/mtools \
18 ${LOCALBASE}/bin/grub-mkrescue:sysutils/grub2-pcbsd
19 BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex \
20 ${LOCALBASE}/bin/bash:shells/bash \
21 help2man:misc/help2man
22
23 WRKSRC= ${WRKDIR}/grub-${PORTVERSION}
24 SSP_UNSAFE= yes
25 USE_GCC= yes
26 GNU_CONFIGURE= yes
27 USES= autoreconf:build bison cpe gettext gmake python tar:xz
28 ONLY_FOR_ARCHS= amd64
29 MAKE_JOBS_UNSAFE= yes
30
31 CPE_PRODUCT= grub
32 CPE_VENDOR= gnu
33
34 CONFIGURE_ARGS= --with-platform=efi --disable-werror --localedir=${PREFIX}/share/locale
35 CONFIGURE_ENV= CPP="${CC} -E" \
36 LEX=${LOCALBASE}/bin/flex
37
38 .include <bsd.port.pre.mk>
39
40 post-patch:
41 @${LN} -s ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf ${WRKSRC}
42 @${TOUCH} -t 200001010000 ${WRKSRC}/Makefile.util.def
43
44 pre-configure:
45 @${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' ${WRKSRC}/autogen.sh
46 cd ${WRKSRC} && ./autogen.sh
47
48 post-configure:
49 @${LN} -sfh /usr/include/machine /usr/include/sys /usr/include/x86 ${WRKSRC}/grub-core
50
51 do-install:
52 @cd ${WRKSRC}/grub-core && ${GMAKE} install DESTDIR=${FAKE_DESTDIR}
53
54 RUN_DEPENDS:= ${RUN_DEPENDS:Ngcc*}
55
56 .include <bsd.port.post.mk>

Properties

Name Value
svn:eol-style native
svn:keywords MidnightBSD=%H
svn:mime-type text/plain