freebsd-ports/sysutils/grub/Makefile
Chris D. Faulhaber d9679842bb A support for splash screen images.
Submitted by:	Thomas Quinot <thomas@cuivre.fr.eu.org>
2002-04-25 22:49:33 +00:00

44 lines
902 B
Makefile

# New ports collection makefile for: grub
# Whom: rjoseph@mammalia.org
# Date created: 24 July 2000
#
# $FreeBSD$
#
PORTNAME= grub
PORTVERSION= 0.91
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://alpha.gnu.org/gnu/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>