1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/sysutils/grub/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: grub
# Whom: rjoseph@mammalia.org
# Date created: 24 July 2000
#
# $FreeBSD$
#
PORTNAME= grub
PORTVERSION= 0.97
CATEGORIES= sysutils
MASTER_SITES= ftp://alpha.gnu.org/gnu/grub/
MAINTAINER= sem@FreeBSD.org
COMMENT= GRand Unified Bootloader
USE_AUTOTOOLS= automake:19 autoconf:259
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>