2000-08-02 10:30:07 +02:00
|
|
|
# New ports collection makefile for: grub
|
|
|
|
# Whom: rjoseph@mammalia.org
|
|
|
|
# Date created: 24 July 2000
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= grub
|
2005-05-18 08:51:01 +02:00
|
|
|
PORTVERSION= 0.97
|
2010-09-15 20:35:24 +02:00
|
|
|
PORTREVISION= 4
|
2000-08-02 10:30:07 +02:00
|
|
|
CATEGORIES= sysutils
|
2004-01-26 16:36:54 +01:00
|
|
|
MASTER_SITES= ftp://alpha.gnu.org/gnu/grub/
|
2000-08-02 10:30:07 +02:00
|
|
|
|
2004-07-07 21:20:02 +02:00
|
|
|
MAINTAINER= sem@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= GRand Unified Bootloader
|
2000-08-02 10:30:07 +02:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= automake autoconf
|
2004-02-10 23:00:02 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
2008-12-08 20:06:10 +01:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-freebsd-freebsd${OSREL}
|
2005-05-18 08:51:01 +02:00
|
|
|
CONFIGURE_ARGS+= --libdir=${PREFIX}/share
|
2004-02-10 23:00:02 +01:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
|
|
GRUB_DIR= ${DATADIR:C|^${PREFIX}/||}/i386-freebsd
|
2000-08-02 10:30:07 +02:00
|
|
|
|
|
|
|
MAN1= mbchk.1
|
2004-01-31 10:29:07 +01:00
|
|
|
MAN8= grub.8 grub-install.8 grub-md5-crypt.8 grub-terminfo.8
|
2004-01-26 16:36:54 +01:00
|
|
|
INFO= grub multiboot
|
2004-02-10 23:00:02 +01:00
|
|
|
PLIST_DIRS= ${GRUB_DIR} ${DATADIR:C|^${PREFIX}/||}
|
|
|
|
PLIST_FILES= bin/mbchk sbin/grub sbin/grub-install sbin/grub-md5-crypt \
|
2005-05-18 08:51:01 +02:00
|
|
|
sbin/grub-terminfo sbin/grub-set-default \
|
|
|
|
${GRUB_DIR}/stage1 ${GRUB_DIR}/stage2
|
|
|
|
|
2004-06-15 09:29:11 +02:00
|
|
|
.for f in e2fs fat ffs iso9660 jfs minix reiserfs ufs2 vstafs xfs
|
2004-02-10 23:00:02 +01:00
|
|
|
PLIST_FILES+= ${GRUB_DIR}/${f}_stage1_5
|
|
|
|
.endfor
|
2004-06-15 09:29:11 +02:00
|
|
|
PLIST_FILES+= ${GRUB_DIR}/stage2_eltorito
|
2000-08-02 10:30:07 +02:00
|
|
|
|
2008-12-26 00:03:39 +01:00
|
|
|
PORTSCOUT= limit:^0
|
|
|
|
|
2004-02-10 23:00:02 +01:00
|
|
|
pre-configure:
|
|
|
|
@cd ${WRKSRC}; ${ACLOCAL}
|
2002-04-26 00:49:33 +02:00
|
|
|
|
2000-08-02 10:30:07 +02:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2004-01-26 16:36:54 +01:00
|
|
|
.include <bsd.port.mk>
|