aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/grub/Makefile
blob: b597acd78b47a4a9af7fe05d0350c22ad0a63446 (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
40
41
42
# New ports collection makefile for:    grub
# Whom:                 rjoseph@mammalia.org
# Date created:             24 July 2000
#
# $FreeBSD$
#

PORTNAME=   grub
PORTVERSION=    0.92
CATEGORIES= sysutils
MASTER_SITES=   http://www.gnu.org/software/grub/

MAINTAINER= jedgar@FreeBSD.org

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
CONFIGURE_TARGET=   ${MACHINE_ARCH}-freebsd-freebsd${OSREL}

MAN1=       mbchk.1
MAN8=       grub.8 grub-install.8 grub-md5-crypt.8

#.if defined(WITH_SPLASHIMAGE)
#PATCH_SITES=   http://people.redhat.com/~katzj/grub/patches/
#PATCHFILES=    ${DISTNAME}-vga16.patch ${DISTNAME}-splashimagehelp.patch
#PATCH_DIST_STRIP= -p1
#USE_AUTOCONF=  yes
#.else
#pre-fetch:
#   @${ECHO_MSG}
#   @${ECHO_MSG} "You may build grub with splash image support by"
#   @${ECHO_MSG} "defining WITH_SPLASHIMAGE."
#   @${ECHO_MSG}
#   @sleep 2
#.endif

pre-build:
    @${RM} ${WRKSRC}/docs/grub.info*

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>