aboutsummaryrefslogtreecommitdiff
path: root/sysutils/grub
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2002-04-25 22:49:33 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2002-04-25 22:49:33 +0000
commitd9679842bb54435012c9e0497f1354c5f384a192 (patch)
tree20a6ccc95fc30cac51b8407a176821852df67f45 /sysutils/grub
parenta9b34d73e1e84e1eb0006bd488560e83752702f1 (diff)
downloadports-d9679842bb54435012c9e0497f1354c5f384a192.tar.gz
ports-d9679842bb54435012c9e0497f1354c5f384a192.zip
A support for splash screen images.
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
Notes
Notes: svn path=/head/; revision=58134
Diffstat (limited to 'sysutils/grub')
-rw-r--r--sysutils/grub/Makefile14
-rw-r--r--sysutils/grub/distinfo2
2 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/grub/Makefile b/sysutils/grub/Makefile
index d6a0c9e8dfeb..cbefeb985214 100644
--- a/sysutils/grub/Makefile
+++ b/sysutils/grub/Makefile
@@ -20,6 +20,20 @@ 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*
diff --git a/sysutils/grub/distinfo b/sysutils/grub/distinfo
index 1e7d57f13138..6d45eb5b1c80 100644
--- a/sysutils/grub/distinfo
+++ b/sysutils/grub/distinfo
@@ -1 +1,3 @@
MD5 (grub-0.91.tar.gz) = 83f60ed38224c2f4921d72ed56f4fa90
+MD5 (grub-0.91-vga16.patch) = 33f17dc565246d4acf52cb8b22dffa7e
+MD5 (grub-0.91-splashimagehelp.patch) = bb016a75234fb52358a2f5412afc2e58