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

PORTNAME=   grub
PORTVERSION=    0.97
PORTREVISION=   2
CATEGORIES= sysutils
MASTER_SITES=   ftp://alpha.gnu.org/gnu/grub/

MAINTAINER= sem@FreeBSD.org
COMMENT=    GRand Unified Bootloader

USE_AUTOTOOLS=  automake:19 autoconf:262
GNU_CONFIGURE=      yes
USE_GMAKE=      yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-freebsd-freebsd${OSREL}
CONFIGURE_ARGS+=    --libdir=${PREFIX}/share
ONLY_FOR_ARCHS=     i386

GRUB_DIR=   ${DATADIR:C|^${PREFIX}/||}/i386-freebsd

MAN1=       mbchk.1
MAN8=       grub.8 grub-install.8 grub-md5-crypt.8 grub-terminfo.8
INFO=       grub multiboot
PLIST_DIRS= ${GRUB_DIR} ${DATADIR:C|^${PREFIX}/||}
PLIST_FILES=    bin/mbchk sbin/grub sbin/grub-install sbin/grub-md5-crypt \
        sbin/grub-terminfo sbin/grub-set-default \
        ${GRUB_DIR}/stage1 ${GRUB_DIR}/stage2

.for f in e2fs fat ffs iso9660 jfs minix reiserfs ufs2 vstafs xfs
PLIST_FILES+=   ${GRUB_DIR}/${f}_stage1_5
.endfor
PLIST_FILES+=   ${GRUB_DIR}/stage2_eltorito

pre-configure:
    @cd ${WRKSRC}; ${ACLOCAL}

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

.include <bsd.port.mk>
ss='column1'>| | | | | Other miscellaneous cleanups with info files PR: 72651 [1] Submitted by: leeym [1] * Long-overdue cosmetic cleanups.ade2004-08-041-10/+0 | * Actually put in relevant symlinks to the versioned files inade2004-07-302-1/+14 | | | | | ${PREFIX}/bin to non-versioned files in ${PREFIX}/libexec/<autotool><ver> so that the PATH magic in bsd.autotools.mk works correctly. * Fix for auto-creation of an auxiliary directory when using the baseade2004-07-012-0/+8 | | | | | | | | | | version of perl in 4.x Whilst the package list isn't affected, PORTREVISION has been bumped to warn 4.x users -- those on 5.x don't necessarily have to update. PR: 68509 Submitted by: Martin Kammerhofer <dada@pluto.tugraz.at> * Say hello to autoconf 2.59 and automake 1.8(.3) after repo-copy.ade2004-03-156-34/+32 | | | | | It's likely to be a really bad idea to use these until they're hooked into the new bsd.autotools.mk * Other minor cosmetic changes to COMMENTade2004-02-121-1/+1 | * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-1/+1 | | | | (Part 2) * Use the cosmetic BUILD_VERSION variable (a la libtool), switch portnamesade2003-06-297-117/+128 | | | | | | away from using the version number twice. Unbreak autoconf257, based on work from Rui Lopes <rui@ruilopes.com> * Unbreak autoconf257.kuriyama2003-06-195-7/+43 | | | | Approved by: ade * Assume maintainership as part of the whole "gnutools" integration process.ade2003-06-101-1/+1 | * REST IN PEACEwill2003-06-091-1/+1 | | | | | | | | | Alan Eldridge Born December 15, 1961 in Iowa Died June 6, 2003 in Denver, Colorado Thank you for your contributions, you will be greatly missed. * Use pre-everything:: instead of pre-everything: to avoid conflict withkris2003-03-011-1/+1 | | | | targets in bsd.port.mk * comment out include of manpages.mk so wont break INDEXalane2003-02-241-1/+1 | * mark BORKED until finishedalane2003-02-193-14/+63 | * starting work on actual port; this commit removes files from a previous versionalane2003-02-144-92/+7 | * Correct ports that were abusing the FORBIDDEN variable and replace withseanc2003-02-071-1/+0 | | | | | | | | | | | | | | | | | | either IGNORE or BROKEN. Since there seems to be some confusion, for the record: BROKEN is reserved for ports that don't work. This will prevent users from installing the port, but please note that ports marked as BROKEN will still be built by bento IGNORE is reserved for ports that should not be built for one reason or another (including bento). Users and bento will not build ports marked as IGNORE. FORBIDDEN is reserved for security breakages only!!! Only mark a port as FORBIDDEN if there is a security issue with the port at the time. Reviewed by: kris (portmgr) * Put the MD5 back. Didn't mean to nuke it.alane2002-11-251-0/+1 | * Add explicit ignore assignments to try to get bento to leave this shit alone.alane2002-11-252-2/+2 | * Remove the StUdLyCaPs from maintainer name, 'cause some folks won't realizealane2002-11-011-1/+1 | | | | | mail's case insensitive and will try to type that. Sorry folks, purely a cosmetic change here, nothing to see, move along, move along.... * Changed MAINTAINER to my FreeBSD address.alane2002-11-011-1/+1 | * Set CONFIG_SHELL in env so always use /bin/sh. This way results arealane2002-10-211-2/+5 | | | | | | | at least (closer to) deterministic. PR: 39492 Submitted by: naddy * PORTNAME => autoconf254. It's still BORKED, BROKEN, & FORBIDDEN, as wellalane2002-10-161-1/+1 | | | | | as being a biohazard and classified as a chemical weapon - it has been used to sterilize frogs at up to 300 metres. * Update distinfo and Makefile to 2.54.alane2002-10-152-3/+10 | | | | | Mark as BROKEN, BORKED, and FORBIDDEN. Undef NO_IGNORE so that people have to abide by it. * Add msg and failure if USE_AUTOCONF* defined.alane2002-10-131-0/+10 | * 1. Fixed bug in autoscan. Thanks to Joe Marcus Clarke <marcus@marcuscom.com>alane2002-09-163-2/+33 | | | | | | who worked with me and beyond to track this down. 2. Support the emacs autoconf/autotest modes now, for both emacs21 and xemacs21. Other (x)emacsen may work, depends on where they put things. * Take maintainership since Ade Lovett departed and I know these programsalane2002-09-161-1/+1 | | | | pretty well. * Relinquish all my ports.ade2002-09-071-1/+1 | * Stage a mini-coup, and borrow these ports from portmgr@ for a while,ade2002-08-011-1/+1 | | | | | | | since I'm doing most of the updating, and am working on a port/Mk/bsd.<gnublah>.mk to move some cruft around. Sponsored by: Mr. Smith and Mr. Wesson. :) * Install the info files properly.knu2002-03-141-0/+4 | | | | Submitted by: "James E. Flemer" <jflemer@acm.jhu.edu> * Update to 2.53, which fixes many bugs.knu2002-03-143-25/+66 | | | | | | Use the bzip2 tarball. Approved by: portmgr (will) * Add additional scripts to help things that need them. Bump PORTREVISION.will2001-12-262-2/+8 | | | | In particular, config.sub is required for japanese/FreeWnn-lib. * Bump PORTREVISION for including install-sh. *sigh*will2001-12-261-0/+1 | * Provide install-sh.will2001-12-242-0/+4 | | | | | PR: 25828 Submitted by: yar * Upgrade to 2.52; this should solve some problems when mixing ac 2.13* andwill2001-12-23